https://kotlinlang.org logo
#koin
Title
# koin
c

clark

09/20/2022, 5:40 PM
I noticed today that the
GlobalContext
(at least on the JVM) is a top level object. Does this have any implications on process death on Android? Do you need to restart Koin after process death? If not, how does it work?
a

arnaud.giuliani

09/21/2022, 7:55 AM
by using
startKoin
function at your app entry point (Application class), you are ensured that on process death/restart it’s called and then the GlobalContext is filled up
c

clark

09/23/2022, 6:16 PM
Makes sense! Thanks for the help!
6 Views