softreferences가 포함 된 weakhashmap에 데이터 객체를 넣어야합니다. "Drawable"객체를 어떻게 소프트 참조로 변환합니까?Java, 객체를 softreference로 변환
WeakHashMap <String, SoftReference<Drawable>> tempPulled = new WeakHashMap<String, SoftReference<Drawable>>();
Drawable pulled = BitmapDrawable.createFromResourceStream(null, null, conn.getInputStream(), "galleryImage", options);
SoftReference<Drawable> sPulled;
tempPulled.put(id, pulled);
tempPulled는 "sPulled"를 넣어해야
나는 내장 클래스를 사용하고 있습니다. – CQM