android 本地大图片形成内存溢出的解决方案

在使用中,小的图片,能够经过drawable直接引用setImageResource或者setBackgroundResource, 但涉及到大图时,尽可能经过decodeStream来建立bitmap,而后再给对应的view使用。java public static Bitmap readBitMap(Context context, int resId) {         BitmapFac
相关文章
相关标签/搜索