diff --git a/data/src/main/java/one/nem/lacerta/data/module/DocumentsModule.java b/data/src/main/java/one/nem/lacerta/data/module/DocumentsModule.java index 588d39fe..d0388035 100644 --- a/data/src/main/java/one/nem/lacerta/data/module/DocumentsModule.java +++ b/data/src/main/java/one/nem/lacerta/data/module/DocumentsModule.java @@ -1,4 +1,18 @@ package one.nem.lacerta.data.module; -public class DocumentsModule { +import dagger.Binds; +import dagger.Module; +import dagger.hilt.InstallIn; +import dagger.hilt.components.SingletonComponent; + +import one.nem.lacerta.data.repository.Documents; +import one.nem.lacerta.data.impl.DocumentsImpl; + +@Module +@InstallIn(SingletonComponent.class) +abstract public class DocumentsModule { + + @Binds + public abstract Documents bindDocuments(DocumentsImpl documentsImpl); + }