Skip to Content
Android Studio 4.2 Development Essentials - Java Edition
book

Android Studio 4.2 Development Essentials - Java Edition

by Neil Smyth
August 2021
Intermediate to advanced
782 pages
22h 37m
English
Packt Publishing
Content preview from Android Studio 4.2 Development Essentials - Java Edition

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

34.1 LiveData - A Recap

LiveData was introduced previously ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android Studio 4.1 Development Essentials – Java Edition

Android Studio 4.1 Development Essentials – Java Edition

Neil Smyth

Publisher Resources

ISBN: 9781803238814Supplemental Content