inline fun <reified R : Any> injectLazy(qualifier: Any? = null, generics: Boolean = false): InjectedProperty<R>
Creates a lazy property delegate for an instance of type R
.
The instance gets retrieved/created on first property access.
qualifier
- An optional qualifier.
generics
- Preserve generic type parameters.
Return
The created InjectedProperty.