Last active
January 28, 2017 06:32
-
-
Save feresr/200053333e4f44ffeaf815fe1f242f5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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