Android 銷燬ImageView的bitmap

BitmapDrawable drawable (BitmapDrawable)imageView.getDrawable(); Bitmap bmp = drawable.getBitmap(); if (null != bmp && !bmp.isRecycled()){  bmp.recycle();  bmp = null;}
相關文章
相關標籤/搜索