The presentation deals with the problem of persistence when writing Android applications. After a general discussion on the capabilities of SQLite, the repository pattern (which allows the centralization all persistence concerns) is introduced. Then, the lifecycle of the SQLiteOpenHelper class is discussed, including how to correctly account for changes in the database schema between application updates. Finally, the concept of object-relational mapping (ORM) is introduced, together with a discussion and how the repository pattern helps isolating such a concern from the business logic code.
The source code is available at https://github.com/iliocatallo/takenotes