Skip to content

Instantly share code, notes, and snippets.

@tfcporciuncula
Created April 7, 2019 13:33
Show Gist options
  • Save tfcporciuncula/9a6d0eec814e766d9a8ca87b0ee9b51e to your computer and use it in GitHub Desktop.
Save tfcporciuncula/9a6d0eec814e766d9a8ca87b0ee9b51e to your computer and use it in GitHub Desktop.
ApplicationComponent.kt
@Component(modules = ...)
interface ApplicationComponent {
@Component.Factory
interface Factory {
fun create(@BindsInstance applicationContext: Context): ApplicationComponent
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment