Last active
March 22, 2017 15:04
-
-
Save digitalbuddha/3c1dbccf059f0279e46e540b2c5fd89e to your computer and use it in GitHub Desktop.
RxApolloClient
This file contains hidden or 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
| ApolloWatcher<EpisodeHeroName.Data> watcher = apolloClient.newCall(query).watcher(); | |
| RxApollo | |
| .toObservable(watcher) | |
| .subscribe(new Observer<EpisodeHeroName.Data>() { | |
| @Override public void onCompleted() { | |
| } | |
| @Override public void onError(Throwable e) { | |
| } | |
| @Override public void onNext(EpisodeHeroName.Data data) { | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment