#Android
2 posts tagged Android. All posts
StateFlow and SharedFlow in Kotlin for Android UI stateHot and cold flows, StateFlow for screen state, SharedFlow for one-off events, stateIn with WhileSubscribed(5000), repeatOnLifecycle, and testing with runTest.
State in Jetpack Compose: remember, State Hoisting and ViewModelHow state works in Jetpack Compose: remember and rememberSaveable, stateless composables, state hoisting, and a ViewModel StateFlow collected with lifecycle awareness.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)