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

Android Studio 4.2 Development Essentials - Kotlin Edition

by Neil Smyth
August 2021
Intermediate to advanced
804 pages
23h 25m
English
Packt Publishing
Content preview from Android Studio 4.2 Development Essentials - Kotlin Edition

40. An Android Jetpack ViewModel Tutorial

The previous chapter introduced the key concepts of Android Jetpack and outlined the basics of modern Android app architecture. Jetpack essentially defines a set of recommendations describing how an Android app project should be structured while providing a set of libraries and components that make it easier to conform with these guidelines with the goal of developing reliable apps with less coding and fewer errors.

To help re-enforce and clarify the information provided in the previous chapter, this chapter will step through the creation of an example app project that makes use of the ViewModel component. This example will be further enhanced in the next chapter with the inclusion of LiveData and data ...

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 – Kotlin Edition

Android Studio 4.1 Development Essentials – Kotlin Edition

Neil Smyth

Publisher Resources

ISBN: 9781803231549Supplemental Content