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();
        }
    }

[ Full content available at: https://github.com/apache/incubator-weex/pull/1495 
]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to