Skip to content

Instantly share code, notes, and snippets.

Last active Jul 7, 2017
What would you like to do?
.flatMap(new Func1<Void, Observable<Data>>() {
public Observable<Data> call(Void aVoid) {
return apiEndpoints
.subscribe(data -> displayData(data), //onNext(Data data)
error -> Log.e(TAG, t.getMessage()); //onError(Throwable error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment