This site requires javascript.
Android Code Search
file:androidx/lifecycle/WithLifecycleState.kt function:withStarted
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/src/commonMain/kotlin/androidx/lifecycle/
WithLifecycleState.kt
content_copy
Preview
64:
65:
66:
*/
public
suspend
inline
fun
<R> Lifecycle.
withStarted
(
crossinline
block: () -> R): R =
withStateAtLeastUnchecked(state = Lifecycle.State.STARTED, block = block)
102:
103:
104:
*/
public
suspend
inline
fun
<R> LifecycleOwner.
withStarted
(
crossinline
block: () -> R): R =
lifecycle.withStateAtLeastUnchecked(state = Lifecycle.State.STARTED, block = block)
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