Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб ViewModel Explained - Android Architecture Component | Tutorial в хорошем качестве

ViewModel Explained - Android Architecture Component | Tutorial 5 лет назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



ViewModel Explained - Android Architecture Component | Tutorial

🏆 My Online Courses ⭐Discount Coupon: LAUNCH-STEVDZA-SAN https://stevdza-san.com 🐱‍👤 Wanna become a member? Join!    / @stevdzasan   📸 Instagram   / stevdza_san   // ViewModel dependency implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0" The ViewModel 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. So when we are talking about Activity or Fragment we are actualy refering to UI Controllers. And ViewModel class should be created for each UI Controller in order to separate things like data and diferent calculations from UI Controler. In UI Controller there should only be necessary code for managing our UI, and everything else we could placed inside a ViewModel class. Timestamps 0:00 - Introducing with ViewModel 1:30 - Practical example with ViewModel 6:30 - Conclusion

Comments