mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
WIP Binds
This commit is contained in:
1 file changed
+13
-1
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user