-
-
Save olafleur/46ae54ed4557234d8785 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
@Override | |
protected void onBind() { | |
super.onBind(); | |
asyncProvider.get(new AsyncCallback<MyBundle>() { | |
@Override | |
public void onFailure(Throwable caught) { | |
//Some error message | |
} | |
@Override | |
public void onSuccess(MyBundle result) { | |
firstService = result.getFirstService(); | |
secondService = result.getSecondService(); | |
} | |
}); | |
//You can now use the objects that are behind the split point | |
secondService.functionCall(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment