blob: 4e49810de42d53ab87dc74adfd52e5b18a946e4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package ca.allanwang.kau.sample.test
import ca.allanwang.kau.kpref.KPrefFactory
import ca.allanwang.kau.kpref.KPrefFactoryInMemory
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ApplicationComponent
@Module
@InstallIn(ApplicationComponent::class)
object PrefFactoryTestModule {
@Provides
fun factory(): KPrefFactory = KPrefFactoryInMemory
}
|