Skip to content

Instantly share code, notes, and snippets.

@frogermcs
Created March 7, 2016 22:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frogermcs/bee97c7a05df289dd5f3 to your computer and use it in GitHub Desktop.
Save frogermcs/bee97c7a05df289dd5f3 to your computer and use it in GitHub Desktop.
Dagger 2 Producers
@ProductionComponent(
dependencies = AppComponent.class,
modules = GithubApiProducerModule.class
)
public interface AppProductionComponent {
ListenableFuture<UserManager> userManager();
ListenableFuture<UserModule.Factory> userModuleFactory();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment