diff --git a/data/src/main/java/one/nem/lacerta/source/pref/module/CommonModule.java b/data/src/main/java/one/nem/lacerta/source/pref/module/CommonModule.java index de34c426..1e5a8579 100644 --- a/data/src/main/java/one/nem/lacerta/source/pref/module/CommonModule.java +++ b/data/src/main/java/one/nem/lacerta/source/pref/module/CommonModule.java @@ -1,4 +1,16 @@ package one.nem.lacerta.source.pref.module; -public class CommonModule { +import dagger.Binds; +import dagger.Module; +import dagger.hilt.InstallIn; +import dagger.hilt.components.SingletonComponent; +import one.nem.lacerta.source.pref.impl.CommonImpl; +import one.nem.lacerta.source.pref.repository.Common; + +@Module +@InstallIn(SingletonComponent.class) +abstract public class CommonModule { + + @Binds + public abstract Common bindCommon(CommonImpl commonImpl); }