-
public class StateUtils
-
-
Field Summary
Fields Modifier and Type Field Description public final static StateUtilsINSTANCE
-
Method Summary
Modifier and Type Method Description final <T extends Any> State<T>rememberStateWithLifecycle(StateFlow<T> flow, Lifecycle lifecycle, Lifecycle.State minActiveState)-
-
Method Detail
-
rememberStateWithLifecycle
@Deprecated(message = Replace with collectAsStateWithLifecycle, replaceWith = @ReplaceWith(imports = {androidx.lifecycle.compose.collectAsStateWithLifecycle}, expression = flow.collectAsStateWithLifecycle()))@Composable() final <T extends Any> State<T> rememberStateWithLifecycle(StateFlow<T> flow, Lifecycle lifecycle, Lifecycle.State minActiveState)
-
-
-
-