Skip to content

Instantly share code, notes, and snippets.

@ipapaste
Created February 14, 2017 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ipapaste/b4962cf73bc39eeeed3d267016149dbd to your computer and use it in GitHub Desktop.
Save ipapaste/b4962cf73bc39eeeed3d267016149dbd to your computer and use it in GitHub Desktop.
RPCServiceAsync service = GWT.create(RPCService.class);
service.getCars("Thessaloniki", new AsyncCallback<List<Car>>() {
public void onSuccess(List<Car> results) {
// Work done here after data is available
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment