this is a question from a few months ago that was ...
# kodein
j
this is a question from a few months ago that was never answered, and I've just found it because I'm searching for the same thing. does anyone have information about using Android's dynamic feature modules with kodein?
s
Honnestly, I've never tried android dynamic feature modules. How does it work ? Are they present when the app starts or do they need to be downloaded / loaded at runtime ?
g
The latter, they need to be downloaded. And because there is no direct link to that code from the main app, google proposed to call it via reflection. Apparently it's acceptable now, go figure ­čÖé.
s
Well. Then it's kinda complicated. You can't modify a kodein container once it is created, except with ConfigurableKodein : https://kodein.org/Kodein-DI/?6.4/configurable