© Ted Hagos 2020
T. HagosLearn Android Studio 4https://doi.org/10.1007/978-1-4842-5937-5_16

16. Jetpack, LiveData, ViewModel, and Room

Ted Hagos1 
(1)
Manila, National Capital Region, Philippines
 
What we’ll cover:
  • Lifecycle aware components

  • ViewModel

  • LiveData

  • Room

We saw a bit of the Architecture components in Chapter 10. In this chapter, we’ll look at some other libraries in the Architecture components, namely, Room; it’s a persistence library that sits on top of SQLite. If you’ve used an ORM before (Object Relational Mapper), you can think of Room as something similar to that.

In this chapter, we’ll also explore some more libraries in the Architecture components that go hand in hand with the Room libraries. We’ll look at lifecycle aware components, LiveData, ...

Get Learn Android Studio 4: Efficient Java-Based Android Apps Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.