koin-androidx-scope / org.koin.androidx.scope / androidx.lifecycle.LifecycleOwner

Extensions for androidx.lifecycle.LifecycleOwner

bindScope

Bind given scope to current LifecycleOwner

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

currentScope

val LifecycleOwner.currentScope: Scope

lifecycleScope

Get current Koin scope, bound to current lifecycle

val LifecycleOwner.lifecycleScope: Scope

scope

val LifecycleOwner.scope: Scope