static fun from(owner: LifecycleOwner): AndroidLifecycleScopeProviderstatic fun from(owner: LifecycleOwner): AndroidLifecycleScopeProvider
Creates a AndroidLifecycleScopeProvider for Android LifecycleOwners.
owner - the owner to scope for.
Return
a AndroidLifecycleScopeProvider against this owner.
static fun from(owner: LifecycleOwner, untilEvent: Event): AndroidLifecycleScopeProviderstatic fun from(owner: LifecycleOwner, untilEvent: Event): AndroidLifecycleScopeProvider
Creates a AndroidLifecycleScopeProvider for Android LifecycleOwners.
owner - the owner to scope for.
untilEvent - the event until the scope is valid.
Return
a AndroidLifecycleScopeProvider against this owner.
static fun from(lifecycle: Lifecycle): AndroidLifecycleScopeProviderstatic fun from(lifecycle: Lifecycle): AndroidLifecycleScopeProvider
Creates a AndroidLifecycleScopeProvider for Android Lifecycles.
lifecycle - the lifecycle to scope for.
Return
a AndroidLifecycleScopeProvider against this lifecycle.
static fun from(lifecycle: Lifecycle, untilEvent: Event): AndroidLifecycleScopeProviderstatic fun from(lifecycle: Lifecycle, untilEvent: Event): AndroidLifecycleScopeProvider
Creates a AndroidLifecycleScopeProvider for Android Lifecycles.
lifecycle - the lifecycle to scope for.
untilEvent - the event until the scope is valid.
Return
a AndroidLifecycleScopeProvider against this lifecycle.
static fun from(owner: LifecycleOwner, boundaryResolver: CorrespondingEventsFunction<Event>): AndroidLifecycleScopeProviderstatic fun from(owner: LifecycleOwner, boundaryResolver: CorrespondingEventsFunction<Event>): AndroidLifecycleScopeProvider
Creates a AndroidLifecycleScopeProvider for Android Lifecycles.
owner - the owner to scope for.
boundaryResolver - function that resolves the event boundary.
Return
a AndroidLifecycleScopeProvider against this owner.
static fun from(lifecycle: Lifecycle, boundaryResolver: CorrespondingEventsFunction<Event>): AndroidLifecycleScopeProviderstatic fun from(lifecycle: Lifecycle, boundaryResolver: CorrespondingEventsFunction<Event>): AndroidLifecycleScopeProvider
Creates a AndroidLifecycleScopeProvider for Android Lifecycles.
lifecycle - the lifecycle to scope for.
boundaryResolver - function that resolves the event boundary.
Return
a AndroidLifecycleScopeProvider against this lifecycle.