From c346170a9da83a5ca86fe4d826c5d92cafd68bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Fri, 12 Jan 2024 12:27:51 +0900 Subject: [PATCH] =?UTF-8?q?HiltModule=E3=81=AE=E3=82=A2=E3=83=8E=E3=83=86?= =?UTF-8?q?=E3=83=BC=E3=82=B7=E3=83=A7=E3=83=B3=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/data/module/LacertaLibraryModule.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data/src/main/java/one/nem/lacerta/data/module/LacertaLibraryModule.java b/data/src/main/java/one/nem/lacerta/data/module/LacertaLibraryModule.java index 9c06ee85..ca7b7182 100644 --- a/data/src/main/java/one/nem/lacerta/data/module/LacertaLibraryModule.java +++ b/data/src/main/java/one/nem/lacerta/data/module/LacertaLibraryModule.java @@ -3,13 +3,15 @@ package one.nem.lacerta.data.module; import dagger.Binds; import dagger.Module; import dagger.hilt.InstallIn; +import dagger.hilt.android.components.FragmentComponent; import dagger.hilt.migration.DisableInstallInCheck; import one.nem.lacerta.data.LacertaLibrary; import one.nem.lacerta.data.impl.LacertaLibraryStubImpl; @Module -@DisableInstallInCheck +// Fragmentにinstall +@InstallIn(FragmentComponent.class) abstract public class LacertaLibraryModule { @Binds