Saving Data on Android, 2nd Edition 版次： Learn Jetpack DataStore, Room, Firebase & SQLite with Kotlin
by: Aldo Olivares Domínguez, Dean Djermanović, Fuad Kamal, Harun Wangereka, Jennifer Bailey, raywenderlich Tutorial Team, Subhrajyoti Sen
Length: 344 pages
Edition 版次： 1
Language 语言： English
Publisher Finelybook 出版社： Razeware LLC
Publication Date: 2021-08-10
ISBN-10 书号： 1950325431
ISBN-13 书号： 9781950325436
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!