ArrayList<Bitmap> thumbImg = new ArrayList<Bitmap>(); 
 
...중략....
 
  for (int i = oldArrSize; i < listImg.size(); i++) {
   try {
    url = new URL("listImg.get(i).toString());
    BitmapFactory.Options options = new BitmapFactory.Options();
    options.inSampleSize = 4;
    Bitmap bitmap = BitmapFactory.decodeStream(url.openStream(),
      null, options);
    thumbImg.add(bitmap);
    bitmap = null;
   } catch (MalformedURLException e) {
    e.printStackTrace();
   } catch (IOException e) {
    e.printStackTrace();
   }
  }


웹에서 이미지 리스트(listImg) 를 가져와 비트맵으로 저장(thumbImg<Bitmap>)하고 있습니다.

 

웹에서 가끔 큰 이미지가 오면...메모리 문제때문에 simplesize를 했습니다..

 

그런데... 속도가 엄청 느립니다.

 

한개의 URL을 가져와 디코드 하는 것을 반복하기 때문이라 생각합니다.

 

그런데.. 저렇게 하는게 맞지 않나요???

 

위의 방법보다 더 나은 방법이 있을까요???

 

고수님들 부탁 드립니다.. 좀더 나은 방법을.....