nameisjayant/Jetpack-DataStore-Prefernce-Example-2-Android-kotlin
What is DataStore 🤷♀️? 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, Coroutines and Flow to store data asynchronously with consistency and transaction support 😍. In short, it’s the new data storage solution which is the replacement of SharedPreferences.
Kotlin