-
-
Save alibahaaa/1c35dbbd62a31f8a5b890ed83f4dd1cd to your computer and use it in GitHub Desktop.
This file contains 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
import android.app.Application | |
import org.koin.android.ext.koin.androidContext | |
import org.koin.core.component.KoinComponent | |
class App : Application() , KoinComponent { | |
override fun onCreate() { | |
super.onCreate() | |
initKoin { | |
androidContext(this@App) | |
modules(appModule) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment