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

Extensions for android.content.ComponentCallbacks

bind

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

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

get

get given dependency for Android koincomponent

fun <T : Any> ComponentCallbacks.get(qualifier: Qualifier? = null, parameters: <ERROR CLASS>? = null): T

getKoin

Get Koin context

fun ComponentCallbacks.getKoin(): Koin

inject

inject lazily given dependency for Android koincomponent

fun <T : Any> ComponentCallbacks.inject(qualifier: Qualifier? = null, mode: LazyThreadSafetyMode = LazyThreadSafetyMode.SYNCHRONIZED, parameters: <ERROR CLASS>? = null): <ERROR CLASS>