I'm trying to use injector method. (<https://salom...
# kodein
c
I'm trying to use injector method. (https://salomonbrys.github.io/Kodein/#injector) In my class "create" method (the first method to be called) I use
injector.inject(kodein)
where injector and kodein are declared like in the example:
Copy code
private val injector = KodeinInjector()
private val kodein by injector.kodein()
but I get a
com.github.salomonbrys.kodein.KodeinInjector$UninjectedException: Value has not been injected
right where I call
injector.inject(kodein)
can someone explain me what is wrong?