Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/patilshreyas/datastoreexample

Jetpack DataStore is a data storage solution. It allows us to store key-value pairs (like SharedPreferences) or typed objects with protocol buffers. DataStore uses Kotlin and Coroutines + Flow to store data synchronously with consistency and transaction support 😍
https://github.com/patilshreyas/datastoreexample

android coroutines datastore flow jetpack jetpack-android kotlin kotlin-android livedata

Last synced: 16 days ago
JSON representation

Jetpack DataStore is a data storage solution. It allows us to store key-value pairs (like SharedPreferences) or typed objects with protocol buffers. DataStore uses Kotlin and Coroutines + Flow to store data synchronously with consistency and transaction support 😍

Awesome Lists containing this project

README

        

# DataStore Example - Android

Jetpack DataStore is a data storage solution. It allows us to store key-value pairs (like SharedPreferences) or typed objects with protocol buffers.
DataStore uses Kotlin and Coroutines + Flow to store data synchronously with consistency and transaction support 😍. In short, it's the new data storage solution which is the replacement of SharedPreferences.

## Articles
- [Preference DataStore - Hello DataStore, Bye SharedPreferences: Part 1](https://medium.com/scalereal/hello-datastore-bye-sharedpreferences-android-f46c610b81d5)
- [Proto DataStore - Hello DataStore, Bye SharedPreferences: Part 2](https://medium.com/scalereal/hello-datastore-bye-sharedpreferences-android-part-2-proto-datastore-2716fbfd4783)