Created
March 7, 2016 22:16
-
-
Save frogermcs/5f0a64d33b68bc51e4f6 to your computer and use it in GitHub Desktop.
Dagger 2 producers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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