Skip to content

Instantly share code, notes, and snippets.

@tfcporciuncula
Created August 31, 2018 08:31
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 tfcporciuncula/cc2f383e4288161b40ee55682309d25d to your computer and use it in GitHub Desktop.
Save tfcporciuncula/cc2f383e4288161b40ee55682309d25d to your computer and use it in GitHub Desktop.
DaggerComponentProvider
interface DaggerComponentProvider {
val component: ApplicationComponent
}
val Activity.injector get() = (application as DaggerComponentProvider).component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment