-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Thriving in Android Development Using Kotlin
By :

When it comes to Android development, one of the most essential tasks is managing your application’s data in a local database. The Room persistence library, part of Android Jetpack, is an abstraction layer over SQLite, a popular database that comes with Android. Room offers more robust database access while harnessing SQLite’s full power.
Before Room, developers primarily used SQLite directly or other object-relational mapping (ORM) libraries. While SQLite is powerful, it can be cumbersome to work with because it requires writing a lot of boilerplate code. Additionally, errors in SQL queries often aren’t detected until runtime, which can lead to crashes.
Room solves these issues by providing a simpler and more robust API over the standard SQLite for managing local data storage. Here are some of its key features: