from

Creates a AndroidLifecycleScopeProvider for Android LifecycleOwners.

Return

a AndroidLifecycleScopeProvider against this owner.

Parameters

owner

the owner to scope for.


Creates a AndroidLifecycleScopeProvider for Android LifecycleOwners.

Return

a AndroidLifecycleScopeProvider against this owner.

Parameters

owner

the owner to scope for.

untilEvent

the event until the scope is valid.


Creates a AndroidLifecycleScopeProvider for Android Lifecycles.

Return

a AndroidLifecycleScopeProvider against this lifecycle.

Parameters

lifecycle

the lifecycle to scope for.


open fun from(lifecycle: Lifecycle, untilEvent: Lifecycle.Event): AndroidLifecycleScopeProvider

Creates a AndroidLifecycleScopeProvider for Android Lifecycles.

Return

a AndroidLifecycleScopeProvider against this lifecycle.

Parameters

lifecycle

the lifecycle to scope for.

untilEvent

the event until the scope is valid.


Creates a AndroidLifecycleScopeProvider for Android Lifecycles.

Return

a AndroidLifecycleScopeProvider against this owner.

Parameters

owner

the owner to scope for.

boundaryResolver

function that resolves the event boundary.


Creates a AndroidLifecycleScopeProvider for Android Lifecycles.

Return

a AndroidLifecycleScopeProvider against this lifecycle.

Parameters

lifecycle

the lifecycle to scope for.

boundaryResolver

function that resolves the event boundary.