Nikola Milovic
07/13/2020, 4:57 PMopen class App : Application() {
override fun onCreate() {
super.onCreate()
startKoin {
// Android context
androidContext(this@App)
// modules
modules(com.example.core.di.networkModule, (com.example.homeFeed.di.)viewModelModule, (com.example.homeFeed.di.)repositoryModule, com.example.homeFeed.di.networkModule)
}
}
}
But I crash with this as the output https://hastebin.com/qizixidumu.sql
Also is there a better way to handle koin modules in a multimodule app? Like having an array of modules and then just loading them when needed as the fragments change? Thank you!Allan Wang
07/13/2020, 7:10 PMNikola Milovic
07/13/2020, 7:15 PMNikola Milovic
07/13/2020, 7:16 PMAllan Wang
07/13/2020, 7:16 PMAllan Wang
07/13/2020, 7:16 PMNikola Milovic
07/13/2020, 7:18 PMAllan Wang
07/13/2020, 7:21 PMAllan Wang
07/13/2020, 7:22 PMNikola Milovic
07/13/2020, 7:24 PM