autodispose-android-archcomponents-ktx / com.uber.autodispose.android.lifecycle / android.arch.lifecycle.Lifecycle / scope

scope

@CheckReturnValue inline fun Lifecycle.scope(): LifecycleScopeProvider<*>

Extension that returns a LifecycleScopeProvider for this Lifecycle.

@CheckReturnValue inline fun Lifecycle.scope(untilEvent: Event): LifecycleScopeProvider<*>

Extension that returns a LifecycleScopeProvider for this Lifecycle.

Parameters

untilEvent - the event until the scope is valid.

@CheckReturnValue inline fun Lifecycle.scope(boundaryResolver: CorrespondingEventsFunction<Event>): LifecycleScopeProvider<*>

Extension that returns a LifecycleScopeProvider for this Lifecycle.

Parameters

boundaryResolver - function that resolves the event boundary.