Автор: Mark L. Murphy
Издательство: CommonsWare
Год: 2021
Страниц: 255
Язык: английский
Формат: pdf (true), mobi, epub
Размер: 10.1 MB
Storing data locally is a key part of many Android apps. SQLite is built into Android, but the low-level API that the Android SDK provides is a bit clunky to use. Google’s solution for that is Room, an object wrapper around that API. This gives us a cleaner, type-safe, reactive API for our database operations. Room is part of the Android Jetpack, and so it is a key element of Google’s recommended “stack” of technologies for building Android apps.
This book explores Room, starting with basic stuff like:
Adding Room to your app
Defining your entities and data access operation (DAO) APIs
Testing your database I/O
Using Room with Kotlin coroutines, LiveData, and RxJava
Migrating your database schema as your app evolves
What’s New in Version 0.6?
This update adds two more chapters, covering:
• Creating database views
• What’s new in Room 2.3.0
Also, the chapter on paging was updated to Paging 3.
In addition:
• A bunch of dependencies were updated, notably Room itself
• Various bugs were fixed
Скачать Elements Of Android Room 0.6