© 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 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.