Jetpack: ViewModel user guide, detailed analysis of implementation principle!

brief introduction In order to better divide the functions, Android provides us with the ViewModel class, which is specially used to store the data required by the application page. ViewModel can be understood as something between View and Model. It acts as a bridge so that the View and data can not only be separated, but also maintain c ...

Posted by nlhowell on Sun, 05 Sep 2021 05:56:24 +0200