Skip to content

Instantly share code, notes, and snippets.

@jdamcd
Created September 22, 2015 18:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jdamcd/88fb028956cf18a8cad4 to your computer and use it in GitHub Desktop.
private class UpdateSubscriber extends Subscriber<String> {
@Override
public void onNext(String text) {
updateUi(text);
}
@Override
public void onError(Throwable e) {
logError(e);
}
@Override
public void onCompleted() {
// Nothing
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment