koin-android / org.koin.android.ext.android / android.content.ComponentCallbacks

Extensions for android.content.ComponentCallbacks

get

fun <T : Any> ComponentCallbacks.get(qualifier: Qualifier? = null, scope: Scope = Scope.GLOBAL, parameters: ParametersDefinition? = null): T

get given dependency for Android koincomponent

getKoin

fun ComponentCallbacks.getKoin(): Koin

Get Koin context

inject

fun <T : Any> ComponentCallbacks.inject(qualifier: Qualifier? = null, scope: Scope = Scope.GLOBAL, parameters: ParametersDefinition? = null): Lazy<T>

inject lazily given dependency for Android koincomponent