May 2022
Intermediate to advanced
688 pages
20h 12m
English
On Android, there are many ways to create and access a database. In this book, we will use the Room library from Google. Room is a Jetpack architecture component library that simplifies database setup and access. It allows you to define your database structure and queries using annotated Kotlin classes.
Room is composed of an API, annotations, and a compiler. The API contains classes you extend to define your database and build an instance of it. You use the annotations to indicate things like which classes need to be stored in the database, which class represents your database, and which class specifies the accessor functions to your database tables. The compiler processes ...
Read now
Unlock full access