12
Persisting Data
This chapter goes in depth about data persistence in Android. By the end of the chapter, you will know multiple ways to store (persist) data directly on a device and the frameworks accessible to do this. When dealing with a filesystem, you will know how it’s partitioned and how you can read and write files in different locations and use different frameworks.
In the previous chapter, you learned how to structure your code and save data. In the activity, you also had the opportunity to build a repository and use it to access and save data through Room. In this chapter, you will learn about alternative ways to persist data on a device through the Android filesystem and how it’s structured into external and internal memory.
Get How to Build Android Apps with Kotlin - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.