Master Room Database
Room fundamentals, relationships, migrations, offline-first sync, and testing.
21 chapters · first 2 free to read
Chapters
- Chapter 1: Why Local Data, and Why Room · Free
- Chapter 2: Setting Up Room · Free
- Chapter 3: Your First Entity, DAO, and Query
- Chapter 4: Entities in Depth
- Chapter 5: Querying with DAOs
- Chapter 6: Type Converters
- Chapter 7: Reactive Reads with Flow
- Chapter 8: One-to-One and One-to-Many
- Chapter 9: Many-to-Many
- Chapter 10: Joins, Aggregations, and Multi-Map Queries
- Chapter 11: Manual Migrations
- Chapter 12: Automated Migrations
- Chapter 13: Prepopulating and Seeding Data
- Chapter 14: The Offline-First Architecture
- Chapter 15: Syncing Room with a Remote API
- Chapter 16: Background Sync with WorkManager
- Chapter 17: Paging, Indexing, and Performance
- Chapter 18: Testing the Data Layer
- Stretch Chapter: Full-Text Search
- Stretch Chapter: Securing the Database
- Stretch Chapter: Room for Kotlin Multiplatform