mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
WIP Binds
This commit is contained in:
parent
cb687d51e4
commit
fd04610e6c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user