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

Extensions for androidx.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.