What is View model in Android?
What is View Model? View Model is a data holding class which holds data in a life-cycle conscious way. By life-cycle conscious way, I mean that, View model is aware of the life-cycle changes in the activity in which it is used. It is a part of Android Jetpack. It acts as a bridge…
What is View model in Android? What is View Model? View Model is a data holding class which holds data in a life-cycle conscious way. By life-cycle conscious way, I mean that, View model is aware of the life-cycle changes in the activity in which it is used. It is a part of Android Jetpack. It acts as a bridge… android
View model Android View Model View Model data holding class hold data lifecycle conscious way lifecycle conscious way mean View model aware lifecycle change activity used part Android Jetpack act bridge… android