Ahuangshang opened a new pull request #1495: 0.18.0 hotfix
URL: https://github.com/apache/incubator-weex/pull/1495
 
 
   in this WXCircleViewPager class ,when destroy we can use next code to call 
system gc better,when we used, the memory jump down quickly.
   protected void unbindDrawables(View view) {
           if (view.getBackground() != null) {
               view.getBackground().setCallback(null);
           }
           if (view instanceof ViewGroup && !(view instanceof AdapterView)) {
               for (int i = 0; i < ((ViewGroup) view).getChildCount(); i++) {
                   unbindDrawables(((ViewGroup) view).getChildAt(i));
               }
               ((ViewGroup) view).removeAllViews();
           }
       }

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to