41. An Android Jetpack LiveData Tutorial

The previous chapter began the process of designing an app to conform to the recommended Jetpack architecture guidelines. These initial steps involved the selection of the Fragment+ViewModel project template and the implementation of the data model for the app user interface within a ViewModel instance.

This chapter will further enhance the app design by making use of the LiveData architecture component. Once LiveData support has been added to the project in this chapter, the next chapters (starting with “An Overview of Android Jetpack Data Binding”) will make use of the Jetpack Data Binding library to eliminate even more code from the project.

41.1 LiveData - A Recap

LiveData was introduced previously ...

Get Android Studio 4.0 Development Essentials - Kotlin Edition 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.