Skip to content

Instantly share code, notes, and snippets.

@aasumitro
Created January 25, 2018 01:50
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 aasumitro/3a4ecca6388305d654d8ff4bc5b6b8d5 to your computer and use it in GitHub Desktop.
Save aasumitro/3a4ecca6388305d654d8ff4bc5b6b8d5 to your computer and use it in GitHub Desktop.
App With Dagger2
companion object {
lateinit var mAppComponent: AppComponent
}
override fun onCreate() {
super.onCreate()
mAppComponent = DaggerAppComponent
.builder()
.appModule(AppModule(this))
.build()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment