Mark
09/30/2024, 2:35 PMonKoinStartup in the Application subclass’ init block. However, apps that use androidx-startup often don’t declare an Application subclass because all logic has been moved in the startup Initializer implementations. Also, in my current startup logic, I call startKoin and then make use of the KoinApplication returned from that class (passing it to various gradle modules). So what is the proper way to get KoinApplication after migrating away from startKoin?Mark
10/01/2024, 7:06 AMcreateEagerInstances which is called after startKoin and using the KoinApplication returned by startKoin.
I suppose the solution is to just use GlobalContext.get().createEagerInstances() instead?Mark
10/01/2024, 3:17 PMonKoinStartup working by creating an Application subclass and then calling it there from an init block (as suggested by the docs). I’d also tried doing this from within Initializer.onCreate(Context) but couldn’t get that to work because the Koin initializer was being invoked beforehand.
It would be nice if there was some way to do all this within androidx startup initializers.arnaud.giuliani
10/15/2024, 1:47 PM