mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
HiltModule作成
This commit is contained in:
parent
2f6bd99572
commit
dc4879c900
|
@ -1,4 +1,18 @@
|
||||||
package one.nem.lacerta.data.module;
|
package one.nem.lacerta.data.module;
|
||||||
|
|
||||||
public class LacertaLibraryModule {
|
import dagger.Binds;
|
||||||
|
import dagger.Module;
|
||||||
|
import dagger.hilt.InstallIn;
|
||||||
|
import dagger.hilt.migration.DisableInstallInCheck;
|
||||||
|
|
||||||
|
import one.nem.lacerta.data.LacertaLibrary;
|
||||||
|
import one.nem.lacerta.data.impl.LacertaLibraryStubImpl;
|
||||||
|
|
||||||
|
@Module
|
||||||
|
@DisableInstallInCheck
|
||||||
|
abstract public class LacertaLibraryModule {
|
||||||
|
|
||||||
|
@Binds
|
||||||
|
public abstract LacertaLibrary bindLacertaLibrary(LacertaLibraryStubImpl impl);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user