blob: 061af508071a8ffb9d939d59a8974b1b9078cacb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package ca.allanwang.kau.sample
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
}
|