Skip to content

Instantly share code, notes, and snippets.

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