Module実装

This commit is contained in:
ろむねこ 2023-12-12 10:24:53 +09:00
parent 5aed05adc4
commit 065d3594ac
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -1,4 +1,16 @@
package one.nem.lacerta.data.module; package one.nem.lacerta.data.module;
public class CommonsModule { import dagger.Binds;
import dagger.Module;
import dagger.hilt.InstallIn;
import dagger.hilt.components.SingletonComponent;
import one.nem.lacerta.data.repository.Commons;
import one.nem.lacerta.data.impl.CommonsImpl;
@Module
@InstallIn(SingletonComponent.class)
abstract class CommonsModule {
@Binds
public abstract Commons bindCommons(CommonsImpl commonsImpl);
} }