taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sagar15795 <...@git.apache.org>
Subject [GitHub] incubator-taverna-mobile pull request #22: Redesigning Favourite Workflow Li...
Date Tue, 12 Jul 2016 13:40:25 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message