Created
September 3, 2020 23:47
-
-
Save cdmunoz/02ca4e54574cb970cfdf7fad6ff953e1 to your computer and use it in GitHub Desktop.
Koin's start within Application class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class NasaRoverPhotosApp : Application() { | |
override fun onCreate() { | |
super.onCreate() | |
Timber.plant(DebugTree()) | |
startKoin { | |
androidContext(this@NasaRoverPhotosApp) | |
modules(appModules) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment