Skip to content

Commit c754612

Browse files
authored
Update README.md
1 parent a21ad36 commit c754612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ DataStore-sample
33

44
- Preferences DataStore [Working with Preferences DataStore Codelab](https://developer.android.com/codelabs/android-preferences-datastore#0).
55
- Using [Jetpack Compose](https://developer.android.com/jetpack/compose) for UI.
6-
- Toggle dark mode / light model.
6+
- Toggle dark mode / light mode.
77
- StateFlow, Coroutines Flow.
88

99
> 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

Comments
 (0)