WIP Binds

This commit is contained in:
ろむねこ 2023-12-11 10:50:28 +09:00
parent cb687d51e4
commit fd04610e6c
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -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);
}