Skip to content

Instantly share code, notes, and snippets.

@iammert
Created December 18, 2017 07:10
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 iammert/9da932c018b418e6a90c5045c8f7c445 to your computer and use it in GitHub Desktop.
Save iammert/9da932c018b418e6a90c5045c8f7c445 to your computer and use it in GitHub Desktop.
AppComponent.java
@Component(modules = {
AndroidInjectionModule.class,
AppModule.class,
ActivityBuilder.class})
public interface AppComponent {
@Component.Builder
interface Builder {
@BindsInstance Builder application(Application application);
AppComponent build();
}
void inject(AndroidSampleApp app);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment