Im trying to use kodein in a multiplatform project...
# kodein
m
Im trying to use kodein in a multiplatform project that targets android and ios. For android im using https://kodein.org/Kodein-DI/?7.0/android#_using_a_trigger but im getting an error:
Expression 'di' cannot be invoked as a function. The function 'invoke()' is not found
- Any ideas? Using kodein 7.0.0
r
This could be an
import
issue. try to use
import org.kodein.di.android.x.di
(depending on the android module you are using)