From efb4a9f8a2182276cd944ee59525d7e096df139b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 14 Dec 2023 11:56:43 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A2=E3=82=B8=E3=83=A5=E3=83=BC=E3=83=AB?= =?UTF-8?q?=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/data/module/DocumentDebugModule.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/data/src/main/java/one/nem/lacerta/data/module/DocumentDebugModule.java b/data/src/main/java/one/nem/lacerta/data/module/DocumentDebugModule.java index b9e70e7a..bcf5c7c5 100644 --- a/data/src/main/java/one/nem/lacerta/data/module/DocumentDebugModule.java +++ b/data/src/main/java/one/nem/lacerta/data/module/DocumentDebugModule.java @@ -1,4 +1,16 @@ package one.nem.lacerta.data.module; -public class DocumentDebugModule { +import dagger.Binds; +import dagger.Module; +import dagger.hilt.InstallIn; +import dagger.hilt.components.SingletonComponent; +import one.nem.lacerta.data.DocumentDebug; +import one.nem.lacerta.data.impl.DocumentDebugImpl; + +@Module +@InstallIn(SingletonComponent.class) // TODO-rca: Singletonでいいのか検討する +abstract public class DocumentDebugModule { + + @Binds + public abstract DocumentDebug bindDocumentDebug(DocumentDebugImpl documentDebugImpl); }