Github user sagar15795 commented on a diff in the pull request:

    
https://github.com/apache/incubator-taverna-mobile/pull/22#discussion_r70439444
  
    --- 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 --
    
    This is necessary if we use create operator. 
    For further info please refer issue [#12 
](https://github.com/ribot/ribot-app-android/issues/12) at ribot android app


---
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.
---

Reply via email to