Injector
Functions
Link copied to clipboard
This method allows to add an injectable instance at runtime. No scopes are defined here, as you are supposed to manually control it by addInjectable/removeInjectable
Link copied to clipboard
open override fun <T : Any> injectOrNull(clazz: KClass<T>, environment: String?, config: InjectorConfig.Builder.() -> Unit?): T?
Retrieves an object of type clazz (it will be created or provided depending on its Scope) If fails getting it, will return null
Link copied to clipboard