Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
@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