how do I use `context` in constructor with koin-an...
# koin
s
how do I use
context
in constructor with koin-annotation?
j
Just use it :-) It seems to be provided by default when you use
androidContext
inside
startKoin
Note: that will be the application context then
s
works in single module.. but not in multi module
e: [ksp] --> Missing Definition type 'android.content.Context' for 'app.data.module.provideSqlDriver'. Fix your configuration to define type 'Context'.
a
yes, with config check we may have this issue. Can you raise an issue on koin-annotations repo @Sudhanshu Singh?
👍 1
109 Views