HiltModule作成

This commit is contained in:
ろむねこ 2024-01-12 12:14:01 +09:00
parent 2f6bd99572
commit dc4879c900
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -1,4 +1,18 @@
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);
}