Android 销毁ImageView的bitmap

BitmapDrawable drawable (BitmapDrawable)imageView.getDrawable();
Bitmap bmp = drawable.getBitmap();
if (null != bmp && !bmp.isRecycled()){
  bmp.recycle();
  bmp = null;
}
posted @ 2012-06-04 16:40  wsjisji  阅读(8912)  评论(0编辑  收藏  举报