Created
May 13, 2024 19:33
-
-
Save MkhytarMkhoian/fba9a0ec40c8875ab6fe87e12995804f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun <STATE : Any, SIDE_EFFECT : Any> ContainerHost<STATE, SIDE_EFFECT>.collectAsState( | |
lifecycleState: Lifecycle.State = Lifecycle.State.STARTED | |
): State<STATE> { | |
return this.collectAsState(lifecycleState) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment