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

property

inline fun <reified T> ComponentCallbacks.property(key: String): Lazy<T>

lazy inject given property for Android component

Parameters

key -

inline fun <reified T> ComponentCallbacks.property(key: String, defaultValue: T): Lazy<T>

lazy inject given property for Android component give a default value if property is missing

Parameters

key -

defaultValue -