Chapter 6: Adding Offline Capabilities with Jetpack Room
In this chapter, we're starting our journey of exploring ways to architecture our apps by first making sure that our application can be used without an internet connection.
In the Introducing Jetpack Room section, we will briefly note the various caching mechanisms that are on Android. Then, we will introduce the Jetpack Room library and its core elements.
Next, in the Enabling offline usage by implementing Room section, we will implement Room in our Restaurants app and allow users to use the application without an internet connection. In the Applying partial updates to the Room database section, we will learn how to partially update data inside Room so that we can save selections such as whether the restaurants were favorited by the user.
Finally, in the Making local data the single source of truth for app content section, we will understand why having a single source of truth for app data is beneficial, and then...