Saving Data on Android (Second Edition) Learn Jetpack DataStore, Room, Firebase & SQLite with Kotlin
Save Data on Android! Persisting data has always been a fundamental part of any app. Saving data locally or remotely with modern synchronization techniques allows your app to always be up-to-date, reactively presenting fresh data. This book is for intermediate Kotlin or Android developers who want to know how to persist data using the standard Android APIs, the Jetpack DataStore mechanism, the Room Android Architecture Component or the features Google Firebase offers. Topics Covered in This Book: Persistence with Android SDK: Learn how to manage files, SharedPreferences or SQLite databases using the APIs the Android platform offers by default. Jetpack DataStore: Learn how to persist simple data by using key-value pairs. This is Google's new and improved solution for saving data. In this book, you'll learn basics about Preferences DataStore and how to migrate from SharedPreferences. Using Room: Room is one of the most important Android Architecture Components delivered by Google. It allows managing entities and relations using classic Object-Oriented principles. In this book, you'll learn everything you need to store data and run queries on top of it. Managing relationships with Room: A database has entities and relationships. With this book, you'll learn how to design your database and manage relationships both eagerly and lazily. Managing and testing migrations: Every app evolves over time. Here, you'll learn how to manage migrations with Room and how to test them properly. Firebase Realtime Database: Google provides tools to manage data locally and remotely through the Firebase platform. With the Firebase Realtime Database, you can manage and keep data in sync, simply and efficiently. Cloud Storage: Another option Google provides is Cloud Storage, which allows you to leverage all the power of Google's infrastructure to manage your data and run expensive queries. Learn how to leverage its power in your own apps. You're only one step from becoming a saving data expert. It's time to dive into this book!