Package-level declarations

androidx-lifecycle extensions for AutoDispose.

Types

Link copied to clipboard
A LifecycleScopeProvider that can provide scoping for Android Lifecycle and LifecycleOwner classes.

Functions

Link copied to clipboard

Extension that proxies to Completable.as + AutoDispose.autoDisposable and takes an untilEvent when subscription will be disposed.

inline fun <T : Any> Flowable<T>.autoDispose(lifecycleOwner: LifecycleOwner, untilEvent: Lifecycle.Event? = null): FlowableSubscribeProxy<T>

Extension that proxies to Flowable.as + AutoDispose.autoDisposable and takes an untilEvent when subscription will be disposed.

inline fun <T : Any> Maybe<T>.autoDispose(lifecycleOwner: LifecycleOwner, untilEvent: Lifecycle.Event? = null): MaybeSubscribeProxy<T>

Extension that proxies to Maybe.as + AutoDispose.autoDisposable and takes an untilEvent when subscription will be disposed.

inline fun <T : Any> Observable<T>.autoDispose(lifecycleOwner: LifecycleOwner, untilEvent: Lifecycle.Event? = null): ObservableSubscribeProxy<T>

Extension that proxies to Observable.as + AutoDispose.autoDisposable and takes an untilEvent when subscription will be disposed.

inline fun <T : Any> Single<T>.autoDispose(lifecycleOwner: LifecycleOwner, untilEvent: Lifecycle.Event? = null): SingleSubscribeProxy<T>

Extension that proxies to Single.as + AutoDispose.autoDisposable and takes an untilEvent when subscription will be disposed.

Extension that proxies to ParallelFlowable.as + AutoDispose.autoDisposable and takes an untilEvent when subscription will be disposed.