由于页面含有ImageView引起的内存溢出。

 

作如下处理:在OnDestroy中

 

Drawable d = imageView.getDrawable();  
if (d != null) d.setCallback(null);  
imageView.setImageDrawable(null);  
imageView.setBackgroundDrawable(null);

  

相关文章: