ViewModel : Part of Android Jetpack is the class is designed to store and manage UI-related data in a lifecycle conscious way. The ViewModel class allows data to survive configuration changes such as screen rotations.
umeshjangid / viewmodal-new-framwork-in-jetpack Goto Github PK
View Code? Open in Web Editor NEWViewModel : Part of Android Jetpack is the class is designed to store and manage UI-related data in a lifecycle conscious way. The ViewModel class allows data to survive configuration changes such as screen rotations.
Home Page: https://developer.android.com/topic/libraries/architecture/viewmodel