diff --git a/data/src/main/java/com/example/lacerta/data/module/DeviceMetaModule.java b/data/src/main/java/com/example/lacerta/data/module/DeviceMetaModule.java index 102950cf..dd77caee 100644 --- a/data/src/main/java/com/example/lacerta/data/module/DeviceMetaModule.java +++ b/data/src/main/java/com/example/lacerta/data/module/DeviceMetaModule.java @@ -1,4 +1,21 @@ package com.example.lacerta.data.module; -public class DeviceMetaModule { +import android.app.Application; + +import com.example.lacerta.data.impl.DeviceMetaImpl; +import com.example.lacerta.data.repository.DeviceMeta; + +import dagger.Binds; +import dagger.Module; +import dagger.hilt.InstallIn; +// Singleton +import dagger.hilt.components.SingletonComponent; + +@Module +@InstallIn(SingletonComponent.class) +abstract class DeviceMetaModule { + + @Binds + public abstract DeviceMeta bindDeviceMeta(DeviceMetaImpl deviceMetaImpl); + }