AndroidDev, Android App Development, Android, Jetpack, Jetpack Compose.
Jetpack Compose in a life-cycle-aware manner via API collectAsStateWithLifecycle WhileSubscribed(5000) waits for 5 minutes before restarting upstream flow if flow does not have any observer, helpful in configuration changes or heavy upstream flows and also in UI related updates. LaunchedEffect