- Notifications
You must be signed in to change notification settings - Fork8
DataStore-sample. Preferences DataStore Working with Preferences DataStore Codelab. Using Jetpack Compose for UI. Toggle dark mode / light model. StateFlow, Coroutines Flow.
License
Kotlin-Android-Open-Source/DataStore-sample
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
DataStore-sample
- Preferences DataStoreWorking with Preferences DataStore Codelab.
- UsingJetpack Compose for UI.
- Toggle dark mode / light mode.
- StateFlow, Coroutines Flow.
DataStore is a new and improved data storage solution aimed at replacing SharedPreferences. Built on Kotlin coroutines and Flow, DataStore provides two different implementations: Proto DataStore, that lets you store typed objects (backed by protocol buffers) and Preferences DataStore, that stores key-value pairs. Data is stored asynchronously, consistently, and transactionally, overcoming some of the drawbacks of SharedPreferences.
About
DataStore-sample. Preferences DataStore Working with Preferences DataStore Codelab. Using Jetpack Compose for UI. Toggle dark mode / light model. StateFlow, Coroutines Flow.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.
