Summary

In this chapter, we demonstrated how to persist complex data in Android. Databases are the heart of every application, so Journaler is not an exception. We covered all CRUD operations performed on the SQLite database and gave a proper implementation for each of them. In our next chapter, we will demonstrate another persistence mechanism for less complex data. We will deal with Android shared preferences, and we will use them to keep simple and small data for our application.

Get Mastering Android Development with Kotlin now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.