Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 834 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 834 Bytes

DataStore-sample

DataStore-sample

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.