Mark
12/04/2020, 3:39 AMtynn
12/04/2020, 7:16 AMarnaud.giuliani
12/04/2020, 8:29 AMSaul Wiggin
12/04/2020, 12:04 PMMark
08/16/2021, 8:12 AMandroidContext()
function, we pass in the Context
given by the App Startup library (see Initializer.create(Context)
). From my initial testing, this appears to be an Application
instance, but since the signature is Context
it is not guaranteed.
Whereas, when setting up Koin in Application
subclass, we are guaranteed to have an Application
instance to pass to androidContext()