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.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(
|
||||
item.getFeed().getImage(),
|
||||
holder.feedImage,
|
||||
|
@ -168,7 +169,8 @@ public class OrganizeQueueActivity extends SherlockListActivity {
|
|||
|
||||
@Override
|
||||
public FeedItem getItem(int position) {
|
||||
return FeedManager.getInstance().getQueueItemAtIndex(position, true);
|
||||
return FeedManager.getInstance()
|
||||
.getQueueItemAtIndex(position, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -161,7 +161,8 @@ public class ExternalEpisodesListAdapter extends BaseExpandableListAdapter {
|
|||
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(
|
||||
item.getFeed().getImage(),
|
||||
holder.feedImage,
|
||||
|
|
|
@ -108,9 +108,9 @@ public class FeedlistAdapter extends BaseAdapter {
|
|||
holder.inProgressEpisodesLabel.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
|
||||
holder.image.setTag(feed.getImage());
|
||||
final String imageUrl = (feed.getImage() != null) ?
|
||||
feed.getImage().getFile_url() : null;
|
||||
final String imageUrl = (feed.getImage() != null) ? feed.getImage()
|
||||
.getFile_url() : null;
|
||||
holder.image.setTag(imageUrl);
|
||||
imageLoader.loadThumbnailBitmap(
|
||||
feed.getImage(),
|
||||
holder.image,
|
||||
|
|
Loading…
Reference in New Issue