ImageView tags weren't set correctly
This commit is contained in:
parent
6a22ada87f
commit
9cd870c6ee
|
@ -145,7 +145,8 @@ public class OrganizeQueueActivity extends SherlockListActivity {
|
||||||
holder.title.setText(item.getTitle());
|
holder.title.setText(item.getTitle());
|
||||||
holder.feedTitle.setText(item.getFeed().getTitle());
|
holder.feedTitle.setText(item.getFeed().getTitle());
|
||||||
|
|
||||||
holder.feedImage.setTag(item.getFeed().getImage());
|
holder.feedImage.setTag((item.getFeed().getImage() != null) ? item
|
||||||
|
.getFeed().getImage().getFile_url() : null);
|
||||||
ImageLoader.getInstance().loadThumbnailBitmap(
|
ImageLoader.getInstance().loadThumbnailBitmap(
|
||||||
item.getFeed().getImage(),
|
item.getFeed().getImage(),
|
||||||
holder.feedImage,
|
holder.feedImage,
|
||||||
|
@ -168,7 +169,8 @@ public class OrganizeQueueActivity extends SherlockListActivity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FeedItem getItem(int position) {
|
public FeedItem getItem(int position) {
|
||||||
return FeedManager.getInstance().getQueueItemAtIndex(position, true);
|
return FeedManager.getInstance()
|
||||||
|
.getQueueItemAtIndex(position, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -161,7 +161,8 @@ public class ExternalEpisodesListAdapter extends BaseExpandableListAdapter {
|
||||||
holder.lenSize.setVisibility(View.INVISIBLE);
|
holder.lenSize.setVisibility(View.INVISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
holder.feedImage.setTag(item.getFeed().getImage());
|
holder.feedImage.setTag((item.getFeed().getImage() != null) ? item
|
||||||
|
.getFeed().getImage().getFile_url() : null);
|
||||||
ImageLoader.getInstance().loadThumbnailBitmap(
|
ImageLoader.getInstance().loadThumbnailBitmap(
|
||||||
item.getFeed().getImage(),
|
item.getFeed().getImage(),
|
||||||
holder.feedImage,
|
holder.feedImage,
|
||||||
|
|
|
@ -108,9 +108,9 @@ public class FeedlistAdapter extends BaseAdapter {
|
||||||
holder.inProgressEpisodesLabel.setVisibility(View.INVISIBLE);
|
holder.inProgressEpisodesLabel.setVisibility(View.INVISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
holder.image.setTag(feed.getImage());
|
final String imageUrl = (feed.getImage() != null) ? feed.getImage()
|
||||||
final String imageUrl = (feed.getImage() != null) ?
|
.getFile_url() : null;
|
||||||
feed.getImage().getFile_url() : null;
|
holder.image.setTag(imageUrl);
|
||||||
imageLoader.loadThumbnailBitmap(
|
imageLoader.loadThumbnailBitmap(
|
||||||
feed.getImage(),
|
feed.getImage(),
|
||||||
holder.image,
|
holder.image,
|
||||||
|
|
Loading…
Reference in New Issue