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

Extensions for android.arch.lifecycle.LifecycleOwner

scope

fun LifecycleOwner.scope(): ScopeProvider
fun LifecycleOwner.scope(untilEvent: Event): ScopeProvider
fun LifecycleOwner.scope(boundaryResolver: CorrespondingEventsFunction<Event>): ScopeProvider

Extension that returns a ScopeProvider for this LifecycleOwner.