Android – Source architecture – How to create Shared Preference repository?
Source structure app\—— java\————- [package name]\———————- AppApplication.kt———————- repository\——————————- UserPreferenceRepository.kt——————————- RepositoryModule.kt Create “RepositoryModule.kt” Create “UserPreferenceRepository.kt” Declare Koin module into “AppApplication.kt”