Skip to content

Instantly share code, notes, and snippets.

@feresr
Last active Jan 28, 2017
Embed
What would you like to do?
Observable<Data> dataStream = RxView.clicks(button)
.flatMap(new Func1<Void, Observable<Data>>() {
@Override
public Observable<Data> call(Void aVoid) {
return apiEndpoints.getData();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment