Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Dagger 2 producers
appProductionComponent = splashActivity.getAppProductionComponent();
Futures.addCallback(appProductionComponent.userManager(), new FutureCallback<UserManager>() {
public void onSuccess(UserManager result) {
SplashActivityPresenter.this.userManager = result;
public void onFailure(Throwable t) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment