JustPaste.it

What is ViewModel in Android Architecture Component?

User avatar
systango12 @systango12 · Feb 28, 2022

Android architecture components are the building blocks to a robust, clean, and scalable app. They are responsible for managing UI components and Data persistence. One of the classes in the android architecture components is the ViewModel class. This class is designed to store and manage any UI-related data in a lifecycle conscious way.

 

Read on to learn more about the ViewModel class of Android architecture component here: https://www.systango.com/blog/what-is-viewmodel-in-android-architecture-component/