An open API service indexing awesome lists of open source software.

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.

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