This site requires javascript.
Android Code Search
file:androidx/lifecycle/compose/FlowExt.kt function:collectAsStateWithLifecycle
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
lifecycle/lifecycle-runtime-compose/src/commonMain/kotlin/androidx/lifecycle/compose/
FlowExt.kt
content_copy
Preview
57:
58:
59:
public
// Initial value for an ongoing collect.
fun
<T> StateFlow<T>.
collectAsStateWithLifecycle
(
lifecycleOwner: LifecycleOwner = LocalLifecycleOwner.current,
94:
95:
96:
public
// Initial value for an ongoing collect.
fun
<T> StateFlow<T>.
collectAsStateWithLifecycle
(
lifecycle: Lifecycle,
132:
133:
134:
@Composable
public
fun
<T> Flow<T>.
collectAsStateWithLifecycle
(
initialValue: T,
169:
170:
171:
@Composable
public
fun
<T> Flow<T>.
collectAsStateWithLifecycle
(
initialValue: T,
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main