Glossary: Android with Jetpack Compose
collectAsStateWithLifecycle
Collects a StateFlow into Compose state so the screen recomposes on each new value, pausing while the app is in the background.
Glossary: Android with Jetpack Compose
Collects a StateFlow into Compose state so the screen recomposes on each new value, pausing while the app is in the background.