Skip to content

Instantly share code, notes, and snippets.

@feresr
Created January 30, 2017 18:58
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 feresr/8655986a8c97236ccad1ae930fafa992 to your computer and use it in GitHub Desktop.
Save feresr/8655986a8c97236ccad1ae930fafa992 to your computer and use it in GitHub Desktop.
@Override public void onNext(DataResponse response) {
if (response.isSuccessful()) {
displayData(response.getData());
} else {
showError(response.getError());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment