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/08 03:32:39 UTC

[4/8] incubator-weex git commit: * [android] move back super.recycled() call

* [android] move back  super.recycled() call


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

Branch: refs/heads/0.11-dev
Commit: 521273a23c145ef8d5a3809617ec5a56e183cb47
Parents: 00151bc
Author: zshshr <zh...@gmail.com>
Authored: Wed Mar 8 11:16:18 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Wed Mar 8 11:16:18 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/521273a2/android/sdk/src/main/java/com/taobao/weex/ui/component/WXVContainer.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/component/WXVContainer.java b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXVContainer.java
index 4db4b7d..fceea7e 100755
--- a/android/sdk/src/main/java/com/taobao/weex/ui/component/WXVContainer.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXVContainer.java
@@ -374,13 +374,13 @@ public abstract class WXVContainer<T extends ViewGroup> extends WXComponent<T> {
    * recycle component resources
    */
   public void recycled() {
-    super.recycled();
     if (mChildren != null && !mDomObj.isFixed() && mDomObj.getAttrs().canRecycled()) {
       int count = mChildren.size();
       for (int i = 0; i < count; ++i) {
         mChildren.get(i).recycled();
       }
     }
+    super.recycled();
 
   }