Github user therajanmaurya commented on a diff in the pull request:
https://github.com/apache/incubator-taverna-mobile/pull/22#discussion_r70211188
--- Diff:
app/src/main/java/org/apache/taverna/mobile/data/local/DBHelper.java ---
@@ -184,6 +186,24 @@ public boolean updateFavouriteWorkflow(String id) {
return false;
}
+ public Observable<List<Workflow>> getFavouriteWorkflow() {
+ return Observable.create(new
Observable.OnSubscribe<List<Workflow>>() {
+ @Override
+ public void call(Subscriber<? super List<Workflow>>
subscriber) {
+ if (subscriber.isUnsubscribed()) return;
--- End diff --
Remove this subscribe checking don't need because we have single
Subscription in Favorite Presenter.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---