fixed image loading bug
This commit is contained in:
parent
0dbf2a347f
commit
8fb1fd3602
|
@ -89,13 +89,11 @@ class VideoInfoItemViewCreator {
|
||||||
holder.itemUploadDateView.setText(info.upload_date+" • ");
|
holder.itemUploadDateView.setText(info.upload_date+" • ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
holder.itemThumbnailView.setImageResource(R.drawable.dummy_thumbnail);
|
||||||
if(info.thumbnail_url != null && !info.thumbnail_url.isEmpty()) {
|
if(info.thumbnail_url != null && !info.thumbnail_url.isEmpty()) {
|
||||||
imageLoader.displayImage(info.thumbnail_url, holder.itemThumbnailView, displayImageOptions);
|
imageLoader.displayImage(info.thumbnail_url, holder.itemThumbnailView, displayImageOptions);
|
||||||
} else {
|
|
||||||
holder.itemThumbnailView.setImageResource(R.drawable.dummy_thumbnail);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return convertView;
|
return convertView;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue