Last active
August 7, 2017 09:42
-
-
Save drawers/b2880c78d81db7c5ee373f3bc07b5f4b to your computer and use it in GitHub Desktop.
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
void showGames(String playerName) { | |
MainRequestComponent component = DaggerMainRequestComponent.builder() | |
.playerNameModule(new PlayerNameModule(playerName)) | |
.build(); | |
ListenableFuture<Games> futureGames = component.games(); | |
futureGames.addCallback(...) //todo: show games using view | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment