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

Extensions for android.content.ComponentCallbacks

bind

fun <P, S> ComponentCallbacks.bind(parameters: ParametersDefinition? = null): S

get given dependency for Android koincomponent, from primary and secondary types

get

fun <T : Any> ComponentCallbacks.get(qualifier: Qualifier? = null, 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, parameters: ParametersDefinition? = null): Lazy<T>

inject lazily given dependency for Android koincomponent