Skip to content

Instantly share code, notes, and snippets.

@makovkastar
Created January 9, 2018 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save makovkastar/3543adf662b9b1b326da32a926ffc9e3 to your computer and use it in GitHub Desktop.
Save makovkastar/3543adf662b9b1b326da32a926ffc9e3 to your computer and use it in GitHub Desktop.
class MvvmTestingApplication : DaggerApplication() {
override fun onCreate() {
super.onCreate()
Injector.init(this)
}
override fun applicationInjector(): AndroidInjector<out DaggerApplication> {
return DaggerAppComponent.builder().application(this).build()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment