/datastore-preferences-app

Simple app to save values in Jetpack Data Store Preferences

Primary LanguageKotlinApache License 2.0Apache-2.0

datastore-preferences-app

Simple app to save values in Jetpack Data Store Preferences

DataStore Preferences

Demo app

This is plain app to save values with the help of key. All data gets saved in DataStore Preferences. SharedPreferences is deprecated in new APIs. DataStore is more functional and retrieves data asychnorously.

Screenshots:

Italian Trulli Italian Trulli

Tech stack:

  • DataStore Preferences
  • Kotlin Coroutines
  • ViewBinding
  • Flow