Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

Elements of Android Room Version FINAL

Posted By: readerXXI
Elements of Android Room Version FINAL

Elements of Android Room Version FINAL
by Mark L. Murphy
English | 2021 | ISBN: n/a | 529 Pages | ePUB/MOBI | 2.94 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

It also gets into more elaborate scenarios, such as using SQLCipher for Android for encrypting your Room database.