HiltModuleのアノテーション修正

This commit is contained in:
ろむねこ 2024-01-12 12:27:51 +09:00
parent 5bd84e730f
commit c346170a9d
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -3,13 +3,15 @@ package one.nem.lacerta.data.module;
import dagger.Binds; import dagger.Binds;
import dagger.Module; import dagger.Module;
import dagger.hilt.InstallIn; import dagger.hilt.InstallIn;
import dagger.hilt.android.components.FragmentComponent;
import dagger.hilt.migration.DisableInstallInCheck; import dagger.hilt.migration.DisableInstallInCheck;
import one.nem.lacerta.data.LacertaLibrary; import one.nem.lacerta.data.LacertaLibrary;
import one.nem.lacerta.data.impl.LacertaLibraryStubImpl; import one.nem.lacerta.data.impl.LacertaLibraryStubImpl;
@Module @Module
@DisableInstallInCheck // Fragmentにinstall
@InstallIn(FragmentComponent.class)
abstract public class LacertaLibraryModule { abstract public class LacertaLibraryModule {
@Binds @Binds