Skip to content

Instantly share code, notes, and snippets.

@GabrielSamojlo
Created March 6, 2018 20:09
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/735caf7feae640f8a538bcab32fd1786 to your computer and use it in GitHub Desktop.
Save GabrielSamojlo/735caf7feae640f8a538bcab32fd1786 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