What is the best way to use kodein with Android Dynamic feature module? Dyanamic module will be downloaded latter at some point.
Is there any way to dynamically add module to kodein dependency.
/* current code */
override val di = DI.lazy {
import(androidXModule(this@AppController))
import(timeModule)
bind { singleton { NetworkConnectionInterceptor(instance())
}
}
public void onClickDownloadFeatureModule() {
// Add it to "App level kodein
}
}