From dc4879c900a10cef074860e5e33af55f0fe4e776 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:14:01 +0900 Subject: [PATCH] =?UTF-8?q?HiltModule=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data/module/LacertaLibraryModule.java | 16 +++++++++++++++- 1 file changed, 15 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 889a66ef..9c06ee85 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 @@ -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); + }