Injector
Functions
Link copied to clipboard
inline fun <R : Any> instance(key: TypeKey<R> = erased(), noinline block: ComponentBuilderBlock? = null): InjectedProperty<R>
Creates a property delegate for an instance of type R.
Link copied to clipboard
inline operator fun <R : Any> invoke(key: TypeKey<R> = erased(), noinline block: ComponentBuilderBlock? = null): InjectedProperty<R>
Creates a property delegate for an instance of type R.
Link copied to clipboard
inline fun <R : Any> lazyInstance(key: TypeKey<R> = erased(), noinline block: ComponentBuilderBlock? = null): InjectedProperty<R>
Creates a lazy property delegate for an instance of type R.