© Ted Hagos 2019
Ted HagosAndroid Studio IDE Quick Referencehttps://doi.org/10.1007/978-1-4842-4953-6_11

11. Lifecycle, ViewModel, LiveData, and Room

Ted Hagos1 
(1)
Manila, National Capital Region, Philippines
 
What this chapter covers:
  • Lifecycle-aware components

  • ViewModel

  • LiveData

  • Room

You saw a bit of the architecture components in the previous chapter. In this chapter, you’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 (object-relational mapper) before, you can think of Room as something like that.

Also in this chapter, you’ll explore some more libraries in the architecture components that go hand in hand with the Room library. You’ll look at ...

Get Android Studio IDE Quick Reference: A Pocket Guide to Android Studio Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.