Skip to content

Glossary: Android with Jetpack Compose

StateFlow

A flow that always holds one current value and sends each new value to whoever is collecting. View models use it to share state with screens.

Where the book teaches it

Related terms

flowMutableStateFlowcollectAsStateWithLifecycle