Skip to content

Instantly share code, notes, and snippets.

@GabrielSamojlo
Created February 28, 2018 20:45
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 GabrielSamojlo/8077a83a97bb573e69603eae684d7022 to your computer and use it in GitHub Desktop.
Save GabrielSamojlo/8077a83a97bb573e69603eae684d7022 to your computer and use it in GitHub Desktop.
@Component(modules = {AndroidSupportInjectionModule.class, AppModule.class})
public interface AppComponent extends AndroidInjector<DaggerApplication> {
@Component.Builder
 interface Builder {
 @BindsInstance
 Builder application(Application application);
 AppComponent build();
 }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment