Skip to content

Instantly share code, notes, and snippets.

@vestrel00
Created July 26, 2017 17:52
Show Gist options
  • Save vestrel00/8c89ff65d9f9a2fdc40c3283e28737b8 to your computer and use it in GitHub Desktop.
Save vestrel00/8c89ff65d9f9a2fdc40c3283e28737b8 to your computer and use it in GitHub Desktop.
A: 5 - ui/main/MainActivitySubcomponent.java
// TODO (ContributesAndroidInjector) remove this in favor of @ContributesAndroidInjector
@PerActivity
@Subcomponent(modules = MainActivityModule.class)
public interface MainActivitySubcomponent extends AndroidInjector<MainActivity> {
@Subcomponent.Builder
abstract class Builder extends AndroidInjector.Builder<MainActivity> {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment