filmov
tv
Android Jetpack Compose State Concept - Hoisting & Unidirectional Flow | CheezyCode Hindi
Показать описание
Learn Jetpack Compose in Android. Learn how state works in Jetpack Compose with a simple example that implements a counter functionality. Learn how Mutable State triggers UI updates in Jetpack Compose. Jetpack Compose works on Observable State that emits new UI whenever it changes. Learn what is state hoisting in Compose along with unidirection flow of data and events. Data flows downwards whereas events flow upwards.
Learn what is difference between Remember and RememberSaveable with example. Learn how rememberSaveable saves your value using Bundle object in Android. Bundle objects are used when any configuration changes happen such as Rotation. To store values across rotations - rememberSaveable is used. For custom object stored inside state object, parcelable objects are required. To make an object parcelable - implement Parcelable Interface. Although as a best practice, ViewModels are used to store state object. Learn step by step on how to use these Composable functions along with the best practice. Everything is explained in Hindi (हिन्दी)
Topics covered -
1. What is State Object? mutableStateOf example
2. remember vs rememberSaveable
3. State Hoisting with Example
4. Unidirectional Flow in Jetpack Compose
5. Stateless vs StateFul Composables.
Kotlin Flows Playlist -
Jetpack Paging Tutorial -
Complete Dependency Injection Playlist Link -
Complete Android Architecture Components Playlist -
Beginner series in Android Playlist (Hindi) -
Kotlin Beginners Tutorial Series -
For more info - visit the below link
We are social. Follow us at -
Learn what is difference between Remember and RememberSaveable with example. Learn how rememberSaveable saves your value using Bundle object in Android. Bundle objects are used when any configuration changes happen such as Rotation. To store values across rotations - rememberSaveable is used. For custom object stored inside state object, parcelable objects are required. To make an object parcelable - implement Parcelable Interface. Although as a best practice, ViewModels are used to store state object. Learn step by step on how to use these Composable functions along with the best practice. Everything is explained in Hindi (हिन्दी)
Topics covered -
1. What is State Object? mutableStateOf example
2. remember vs rememberSaveable
3. State Hoisting with Example
4. Unidirectional Flow in Jetpack Compose
5. Stateless vs StateFul Composables.
Kotlin Flows Playlist -
Jetpack Paging Tutorial -
Complete Dependency Injection Playlist Link -
Complete Android Architecture Components Playlist -
Beginner series in Android Playlist (Hindi) -
Kotlin Beginners Tutorial Series -
For more info - visit the below link
We are social. Follow us at -
Комментарии