android加載大量圖片內存溢出的三種解決辦法

方法一:緩存 在從網絡或本地加載圖片的時候,只加載縮略圖。網絡   /**this * 按照路徑加載圖片 * @param path 圖片資源的存放路徑 * @param scalSize 縮小的倍數 * @return */ public static Bitmap loadResBitmap(String path, int scalSize) { BitmapFactory.Options
相關文章
相關標籤/搜索