Stay organized with collections
Save and categorize content based on your preferences.
Store and access data using keys with DataStore
Learn how to store simple, key-value pair data with Preferences DataStore in an Android app.
Go back
check_circle
Introduction to Datastore
ondemand_video
Video
Optional
Understand how DataStore works, what implementation it provides, the individual use cases, and more with Android Developer Relations Engineer Simona Stojanovic.
check_circle
Preferences Datastore
ondemand_video
Video
Optional
In this video, we’ll take a look at Preferences DataStore, one of two DataStore implementations. Simona goes over how to create it, read and write data, and how to handle exceptions.
check_circle
Save preferences locally with DataStore
emoji_objects
Codelab
Learn how to store user preferences on the device with DataStore.
Congratulations! You finished the sixth unit. You learned so much in this unit, including SQLite databases, the Room library and DataStore. These skills let you build apps that can persist data locally on the user device.
Quiz
Test your knowledge and earn your DataStore badge.