inline fun <reified R : Any> injectProvider(qualifier: Any? = null, generics: Boolean = false): InjectedProperty<Provider<R>>
Creates a property delegate for a Provider of type () -> R
.
qualifier
- An optional qualifier.
generics
- Preserve generic type parameters.
Return
The created InjectedProperty.