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

scope

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

Extension that returns a LifecycleScopeProvider for this LifecycleOwner.

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

Extension that returns a LifecycleScopeProvider for this LifecycleOwner.

Parameters

untilEvent - the event until the scope is valid.

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

Extension that returns a LifecycleScopeProvider for this LifecycleOwner.

Parameters

boundaryResolver - function that resolves the event boundary.