[39/51] [abbrv] incubator-weex git commit: set adapter to null
set adapter to null Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/eaf537e2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/eaf537e2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/eaf537e2 Branch: refs/heads/dev Commit: eaf537e2413b324f5d37b82b02f41d638b74fcf2 Parents: 9172cdd Author: jianbai.gbj Authored: Mon Sep 25 21:44:41 2017 +0800 Committer: jianbai.gbj Committed: Mon Sep 25 21:44:41 2017 +0800 -- .../weex/ui/component/list/template/WXRecyclerTemplateList.java | 3 +++ 1 file changed, 3 insertions(+) -- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/eaf537e2/android/sdk/src/main/java/com/taobao/weex/ui/component/list/template/WXRecyclerTemplateList.java -- diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/component/list/template/WXRecyclerTemplateList.java b/android/sdk/src/main/java/com/taobao/weex/ui/component/list/template/WXRecyclerTemplateList.java index 43422a5..fb60fab 100644 --- a/android/sdk/src/main/java/com/taobao/weex/ui/component/list/template/WXRecyclerTemplateList.java +++ b/android/sdk/src/main/java/com/taobao/weex/ui/component/list/template/WXRecyclerTemplateList.java @@ -969,6 +969,9 @@ public class WXRecyclerTemplateList extends WXVContainer imp public void destroy() { if(getHostView() != null){ getHostView().removeCallbacks(listUpdateRunnable); +if(getHostView().getInnerView() != null){ +getHostView().getInnerView().setAdapter(null); +} } if(listData != null){ listData = null;
[39/51] [abbrv] incubator-weex git commit: set adapter to null
set adapter to null Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/eaf537e2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/eaf537e2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/eaf537e2 Branch: refs/heads/master Commit: eaf537e2413b324f5d37b82b02f41d638b74fcf2 Parents: 9172cdd Author: jianbai.gbj Authored: Mon Sep 25 21:44:41 2017 +0800 Committer: jianbai.gbj Committed: Mon Sep 25 21:44:41 2017 +0800 -- .../weex/ui/component/list/template/WXRecyclerTemplateList.java | 3 +++ 1 file changed, 3 insertions(+) -- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/eaf537e2/android/sdk/src/main/java/com/taobao/weex/ui/component/list/template/WXRecyclerTemplateList.java -- diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/component/list/template/WXRecyclerTemplateList.java b/android/sdk/src/main/java/com/taobao/weex/ui/component/list/template/WXRecyclerTemplateList.java index 43422a5..fb60fab 100644 --- a/android/sdk/src/main/java/com/taobao/weex/ui/component/list/template/WXRecyclerTemplateList.java +++ b/android/sdk/src/main/java/com/taobao/weex/ui/component/list/template/WXRecyclerTemplateList.java @@ -969,6 +969,9 @@ public class WXRecyclerTemplateList extends WXVContainer imp public void destroy() { if(getHostView() != null){ getHostView().removeCallbacks(listUpdateRunnable); +if(getHostView().getInnerView() != null){ +getHostView().getInnerView().setAdapter(null); +} } if(listData != null){ listData = null;