Github user therajanmaurya commented on a diff in the pull request:
https://github.com/apache/incubator-taverna-mobile/pull/56#discussion_r169136620
--- Diff:
app/src/main/java/org/apache/taverna/mobile/ui/myworkflows/MyWorkflowPresenter.java
---
@@ -102,23 +101,20 @@ public void onError(Throwable e) {
}
@Override
- public void onNext(Workflow workflow) {
- getMvpView().showWorkflow(workflow);
+ public void onComplete() {
+ getMvpView().showProgressbar(false);
+ getMvpView().checkWorkflowSize();
--- End diff --
Move these two lines in onNext
---