BitmapFactory 的decodeFile容易出现内存溢出,所以我用University ImageLoader来加载图片 变相解决这个问题
ImageLoader.getInstance().displayImage(path,memberImg); /* if (file.exists()) { // bitmap = BitmapFactory.decodeFile(path);
本文介绍了一种使用ImageLoader来替代BitmapFactory的decodeFile方法加载图片的方法,以避免在Android应用中出现内存溢出的问题。
BitmapFactory 的decodeFile容易出现内存溢出,所以我用University ImageLoader来加载图片 变相解决这个问题
ImageLoader.getInstance().displayImage(path,memberImg); /* if (file.exists()) { // bitmap = BitmapFactory.decodeFile(path);
779
285

被折叠的 条评论
为什么被折叠?