Created
October 14, 2019 23:41
-
-
Save markchristopherng/8dffb0e4174c14971273b007a889a315 to your computer and use it in GitHub Desktop.
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 AppModule(val application: Application) : Module() { | |
init { | |
val context = application.applicationContext | |
bind(Application::class.java).toInstance(application) | |
bind(Context::class.java).toInstance(context) | |
bind(AppConfigManager::class.java).toInstance(AppConfigManager()) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment