rk
昨天 4a8ff39b0fab0627ef8f7459587d514cc01c3676
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.doumee.lib_coremodel.di.module;
 
 
import com.doumee.lib_coremodel.data.DataRepository;
import com.doumee.lib_coremodel.data.IDataRepository;
 
import dagger.Binds;
import dagger.Module;
import dagger.hilt.InstallIn;
import dagger.hilt.components.SingletonComponent;
 
/**
 * @author <a href="mailto:jenly1314@gmail.com">Jenly</a>
 */
@InstallIn(SingletonComponent.class)
@Module
public abstract class RepositoryModule {
 
    @Binds
    abstract IDataRepository bindDataRepository(DataRepository dataRepository);
}