Pablo
04/16/2025, 12:23 PMunloadKoinModules(networkModule)
loadKoinModules(networkModule)
do exist any solution for this? any solution that doesn't implies adding complexity like factories that embeds a singleton and checks if a variable has changed and then returns another singleton, I don't like that approach. I'm considering restarting the entire application, but seems that android doesn't offers a 100% supported way to achieve this. Something like unloadKoinModulesIncludingSingletons(networkModule)
will be perfect. The solution proposed by that guy is not posted in the link anymore, and the alternative of doing val api: InstanceApi = getKoin().get()
is not applicable in my case. I tryed doing stopKoin and startKoin again, but the modules are not being reloaded, don't know why.Seri
04/16/2025, 2:54 PM