You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/03/10 10:44:29 UTC
[2/3] incubator-weex git commit: * [android] remove special set
layout parameter in baserefesh(WXRefresh/WXLoading)
* [android] remove special set layout parameter in baserefesh(WXRefresh/WXLoading)
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/7741b04b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/7741b04b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/7741b04b
Branch: refs/heads/0.11-dev
Commit: 7741b04b5b2a7fbdbb448cb41d5707979539867a
Parents: a86a639
Author: sospartan <so...@gmail.com>
Authored: Fri Mar 10 15:21:06 2017 +0800
Committer: sospartan <so...@gmail.com>
Committed: Fri Mar 10 15:21:06 2017 +0800
----------------------------------------------------------------------
.../java/com/taobao/weex/ui/component/WXBaseRefresh.java | 10 ----------
1 file changed, 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/7741b04b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXBaseRefresh.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/component/WXBaseRefresh.java b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXBaseRefresh.java
index 6d53c28..58a4c21 100755
--- a/android/sdk/src/main/java/com/taobao/weex/ui/component/WXBaseRefresh.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXBaseRefresh.java
@@ -236,16 +236,6 @@ public class WXBaseRefresh extends WXVContainer<WXFrameLayout> {
}
@Override
- protected void setHostLayoutParams(WXFrameLayout host, int width, int height, int left, int right, int top, int bottom) {
- if (getParent() instanceof Scrollable) {
- //do nothing
- return;
- }else{
- super.setHostLayoutParams(host, width, height, left, right, top, bottom);
- }
- }
-
- @Override
public void addChild(WXComponent child, int index) {
super.addChild(child, index);
this.checkLoadingIndicator(child);