koin-android-scope / org.koin.android.scope.ext.android / android.arch.lifecycle.LifecycleOwner / bindScope

bindScope

fun LifecycleOwner.bindScope(scope: Scope, event: Event = Lifecycle.Event.ON_DESTROY): Unit

Set a Scope Observer onto the actual LifecycleOwner component will close the bound scopes on lifecycle event

Parameters

event - : lifecycle event - default ON_DESTROY

scopes -

See Also

ScopeObserver