Skip to content

Instantly share code, notes, and snippets.

@kozmi55
Created August 30, 2018 14:48
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 kozmi55/fa7f70ef0e33bbdaacc6be0303299812 to your computer and use it in GitHub Desktop.
Save kozmi55/fa7f70ef0e33bbdaacc6be0303299812 to your computer and use it in GitHub Desktop.
class CustomApplication : Application() {
lateinit var component: ApplicationComponent
override fun onCreate() {
super.onCreate()
component = DaggerApplicationComponent
.builder()
.applicationModule(ApplicationModule(this))
.build()
component.inject(this)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment