Skip to content

Instantly share code, notes, and snippets.

@thenickreynolds
Last active October 13, 2016 18:28
Show Gist options
  • Save thenickreynolds/03f6e6de94c868868d185e06ae0a4f5e to your computer and use it in GitHub Desktop.
Save thenickreynolds/03f6e6de94c868868d185e06ae0a4f5e to your computer and use it in GitHub Desktop.
protected <T> void subscribe(Observable<T> observable, ResubscriptionObserver<T> observer) {
observable.compose(observableGroup.<T>transform(observer.resubscriptionTag().toString()))
.subscribe(observer);
}
@thenickreynolds
Copy link
Author

thenickreynolds commented Oct 13, 2016

@felipecsl - let's add this to the groups class, also strange you need to convert from object to string as we discussed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment