You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ DataStore-sample
3
3
4
4
- Preferences DataStore [Working with Preferences DataStore Codelab](https://developer.android.com/codelabs/android-preferences-datastore#0).
5
5
- Using [Jetpack Compose](https://developer.android.com/jetpack/compose) for UI.
6
-
- Toggle dark mode / light model.
6
+
- Toggle dark mode / light mode.
7
7
- StateFlow, Coroutines Flow.
8
8
9
9
> 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.
0 commit comments