Removed bitmap recycling because it caused bugs
This commit is contained in:
parent
ebb9e0b30c
commit
65fe944765
|
@ -62,11 +62,7 @@ public class FeedlistAdapter extends ArrayAdapter<Feed> {
|
|||
convertView.setTag(holder);
|
||||
} else {
|
||||
holder = (Holder) convertView.getTag();
|
||||
// Recycle images which are no longer in the cache
|
||||
if (!FeedImageLoader.getInstance().isInCache(feed.getImage())) {
|
||||
Log.d(TAG, "Deleting reference to uncached bitmap");
|
||||
holder.image.setImageBitmap(null);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (position == selectedItemIndex) {
|
||||
|
|
Loading…
Reference in New Issue