Where to Go From Here?
You can download the completed project files by clicking the Download Materials button at the top or bottom of the tutorial.
In this Jetpack DataStore tutorial you learned how to:
- Create Prefs DataStore and Proto DataStore.
- Migrate data from
SharedPreferences
to Jetpack DataStore.
- Read and write to both Proto and Prefs DataStore.
- Implement theme changes.
- Add filters to your data set.
If you want to learn more about persisting data in Android, check out Saving Data On Android . Or, if you want to learn more about Flow, check out Kotlin Flow for Android: Getting Started.
Hopefully, you enjoyed this tutorial. If you have any questions or comments, please join the forum discussion below! Happy data storing! :]