https://github.com/kashif-e/jetpack-datastore-with-mvvm
Preferences Datastore with MVVM architecture, Hilt for dependency injection.
https://github.com/kashif-e/jetpack-datastore-with-mvvm
datastore datastore-android datastore-preferences flow kotlin-flow preferences sharedpreferences
Last synced: 2 months ago
JSON representation
Preferences Datastore with MVVM architecture, Hilt for dependency injection.
- Host: GitHub
- URL: https://github.com/kashif-e/jetpack-datastore-with-mvvm
- Owner: Kashif-E
- Created: 2021-08-03T18:03:43.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-24T12:36:42.000Z (almost 3 years ago)
- Last Synced: 2025-03-28T01:26:11.013Z (3 months ago)
- Topics: datastore, datastore-android, datastore-preferences, flow, kotlin-flow, preferences, sharedpreferences
- Language: Kotlin
- Homepage:
- Size: 142 KB
- Stars: 38
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DataStore Example
this example shows how you can use data store to store data in key value pairs and get rid of shared preferences using. MVVM architecture with Hilt and repository pattern
Medium Article: https://kashif-mehmood-km.medium.com/the-what-why-and-how-of-preferences-datastore-dc0dda15dfbb
https://user-images.githubusercontent.com/61690178/128065712-c1098d28-42e7-434a-bd88-fde79d08b626.mp4