> Documentation index: https://developer.android.com/courses/llms.txt

![](http://developer.android.com/static/courses/android-basics-compose/images/hero-assets/unit-logo.svg) [Android Basics with Compose](http://developer.android.com/courses/android-basics-compose/course)

### Unit 6: Data persistence

Learn how to store data locally on the device and keep your apps working through any network disruptions for a smooth and consistent user experience. Pathway 1 ![](https://developers.google.com/profile/badges/playlists/android/android-basics-compose-unit-6-pathway-1/badge.svg)

### [Introduction to SQL](https://developer.android.com/courses/pathways/android-basics-compose-unit-6-pathway-1.md.txt)


Learn how to use SQL to read and manipulate data in a relational database.
December 2022 [Explore](https://developer.android.com/courses/pathways/android-basics-compose-unit-6-pathway-1.md.txt) Pathway 2 ![](https://developers.google.com/profile/badges/playlists/android/android-basics-compose-unit-6-pathway-2/badge.svg)

### [Use Room for data persistence](https://developer.android.com/courses/pathways/android-basics-compose-unit-6-pathway-2.md.txt)


Use the Room library to easily create and use relational databases in an Android app.
December 2022 [Explore](https://developer.android.com/courses/pathways/android-basics-compose-unit-6-pathway-2.md.txt) Pathway 3 ![](https://developers.google.com/profile/badges/playlists/android/android-basics-compose-unit-6-pathway-3/badge.svg)

### [Store and access data using keys with DataStore](https://developer.android.com/courses/pathways/android-basics-compose-unit-6-pathway-3.md.txt)


Learn how to store simple, key-value pair data with Preferences DataStore in an Android app.
December 2022 [Explore](https://developer.android.com/courses/pathways/android-basics-compose-unit-6-pathway-3.md.txt)