If I have created a top level "Application-like" class that gets invoked at start which implements:
Copy code
override val kodein = Kodein {
import(sdkModule)
}
which sets up all the binds. Do each class using those binds also need to implement the above snippet to use them? Or is it enough just to do val nameOfVar by instance() ?
s
salomonbrys
04/03/2019, 6:33 PM
Your classes must not implement a new kodein definition !
They must have access to that application kodein instance.