In this lesson, you learned how to track state changes by storing the state in an observable value holder like MutableState. You also learned to preserve the state across recompositions using the remember composable function. This way, the UI (cookies) can be efficiently updated based on the latest state (fresh and leftover ingredients).
See forum comments
This content was released on Sep 10 2024. The official support period is 6-months
from this date.
Introduction to mutableStateOf and remember functions in Jetpack Compose
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
Previous: Demo
Next: Quiz: Remember State Variables
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.