You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by mi...@apache.org on 2017/08/21 09:25:56 UTC

[1/2] incubator-weex git commit: * [android] change offset on scroll event to negative number

Repository: incubator-weex
Updated Branches:
  refs/heads/0.16-dev 4bd54daf7 -> 6b782f638


* [android] change offset on scroll event to negative number


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

Branch: refs/heads/0.16-dev
Commit: 278334f2d266fdceb69192f7b7d49772065a7621
Parents: e22f02a
Author: misakuo <mi...@apache.org>
Authored: Mon Aug 21 14:12:08 2017 +0800
Committer: misakuo <mi...@apache.org>
Committed: Mon Aug 21 14:12:08 2017 +0800

----------------------------------------------------------------------
 .../java/com/taobao/weex/ui/component/list/BasicListComponent.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/278334f2/android/sdk/src/main/java/com/taobao/weex/ui/component/list/BasicListComponent.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/component/list/BasicListComponent.java b/android/sdk/src/main/java/com/taobao/weex/ui/component/list/BasicListComponent.java
index 3c8be1c..c7c0bb6 100644
--- a/android/sdk/src/main/java/com/taobao/weex/ui/component/list/BasicListComponent.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/component/list/BasicListComponent.java
@@ -1301,7 +1301,7 @@ public abstract class BasicListComponent<T extends ViewGroup & ListComponentView
   }
 
   private void fireScrollEvent(RecyclerView recyclerView, int offsetX, int offsetY) {
-    offsetY = calcContentOffset(recyclerView);
+    offsetY = - calcContentOffset(recyclerView);
     int contentWidth = recyclerView.getMeasuredWidth() + recyclerView.computeHorizontalScrollRange();
     int contentHeight = calcContentSize();
 


[2/2] incubator-weex git commit: Merge remote-tracking branch 'upstream/pr624' into apache-0.16-dev

Posted by mi...@apache.org.
Merge remote-tracking branch 'upstream/pr624' into apache-0.16-dev


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

Branch: refs/heads/0.16-dev
Commit: 6b782f63848ba2d4a554ff0f2b25e18019a724ed
Parents: 4bd54da 278334f
Author: misakuo <mi...@apache.org>
Authored: Mon Aug 21 17:26:19 2017 +0800
Committer: misakuo <mi...@apache.org>
Committed: Mon Aug 21 17:26:19 2017 +0800

----------------------------------------------------------------------
 .../java/com/taobao/weex/ui/component/list/BasicListComponent.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------