ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

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

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

ViewModel Explained - Android Architecture Component | Tutorial

Автор: Stevdza-San

Загружено: 2020-05-06

Просмотров: 121388

Описание: 🏆 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

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
ViewModel Explained - Android Architecture Component | Tutorial

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Room в Jetpack Compose | Android Studio + Kotlin

Room в Jetpack Compose | Android Studio + Kotlin

LiveData Explained - Android Architecture Component | Tutorial

LiveData Explained - Android Architecture Component | Tutorial

Let, Also, Apply, Run, With - Kotlin Scope Functions

Let, Also, Apply, Run, With - Kotlin Scope Functions

ViewModels & Configuration Changes - Android Basics 2023

ViewModels & Configuration Changes - Android Basics 2023

MVVM Architecture in Flutter | Complete Tutorial

MVVM Architecture in Flutter | Complete Tutorial

Купили УРАЛ Лесовоз. Первое знакомство!

Купили УРАЛ Лесовоз. Первое знакомство!

StateFlow vs. Flow vs. SharedFlow vs. LiveData... When to Use What?! - Android Studio Tutorial

StateFlow vs. Flow vs. SharedFlow vs. LiveData... When to Use What?! - Android Studio Tutorial

Похудей на 45 КГ, Выиграй $250,000!

Похудей на 45 КГ, Выиграй $250,000!

1940's Jazz Bar - Vintage Classics

1940's Jazz Bar - Vintage Classics

Shared ViewModel - Explained | Android Studio Tutorial

Shared ViewModel - Explained | Android Studio Tutorial

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]