[WEEX-109][android] support scroll start scroll end event on scroller list  
template list, handle pull action when nestedScrollingEnable false


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/f6693854
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/f6693854
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/f6693854

Branch: refs/heads/master
Commit: f6693854d79b9785b7a3ba7a43835e4aab7537a8
Parents: 874147d
Author: jianbai.gbj <jianbai....@alibaba-inc.com>
Authored: Tue Nov 14 20:18:55 2017 +0800
Committer: jianbai.gbj <jianbai....@alibaba-inc.com>
Committed: Tue Nov 14 20:18:55 2017 +0800

----------------------------------------------------------------------
 .../java/com/taobao/weex/ui/view/refresh/core/WXSwipeLayout.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f6693854/android/sdk/src/main/java/com/taobao/weex/ui/view/refresh/core/WXSwipeLayout.java
----------------------------------------------------------------------
diff --git 
a/android/sdk/src/main/java/com/taobao/weex/ui/view/refresh/core/WXSwipeLayout.java
 
b/android/sdk/src/main/java/com/taobao/weex/ui/view/refresh/core/WXSwipeLayout.java
index a69dc0e..5a2050b 100644
--- 
a/android/sdk/src/main/java/com/taobao/weex/ui/view/refresh/core/WXSwipeLayout.java
+++ 
b/android/sdk/src/main/java/com/taobao/weex/ui/view/refresh/core/WXSwipeLayout.java
@@ -414,9 +414,9 @@ public class WXSwipeLayout extends FrameLayout implements 
NestedScrollingParent,
   @Override
   public void onStopNestedScroll(View child) {
     mNestedScrollingParentHelper.onStopNestedScroll(child);
+    handlerAction();
     if(isNestedScrollingEnabled()) {
       mNestedScrollInProgress = true;
-      handlerAction();
       stopNestedScroll();
     }
   }

Reply via email to