mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-05 16:43:07 +00:00
fix: resolved an issue with podcast cover image display
This commit is contained in:
@@ -14,6 +14,7 @@ class PodcastChannel : Parcelable {
|
|||||||
var url: String? = null
|
var url: String? = null
|
||||||
var title: String? = null
|
var title: String? = null
|
||||||
var description: String? = null
|
var description: String? = null
|
||||||
|
@SerializedName("coverArt")
|
||||||
var coverArtId: String? = null
|
var coverArtId: String? = null
|
||||||
var originalImageUrl: String? = null
|
var originalImageUrl: String? = null
|
||||||
var status: String? = null
|
var status: String? = null
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ public class PodcastChannelHorizontalAdapter extends RecyclerView.Adapter<Podcas
|
|||||||
holder.item.podcastChannelDescriptionTextView.setText(MusicUtil.getReadableString(podcastChannel.getDescription()));
|
holder.item.podcastChannelDescriptionTextView.setText(MusicUtil.getReadableString(podcastChannel.getDescription()));
|
||||||
|
|
||||||
CustomGlideRequest.Builder
|
CustomGlideRequest.Builder
|
||||||
.from(holder.itemView.getContext(), podcastChannel.getOriginalImageUrl(), CustomGlideRequest.ResourceType.Podcast)
|
.from(holder.itemView.getContext(), podcastChannel.getCoverArtId(), CustomGlideRequest.ResourceType.Podcast)
|
||||||
.build()
|
.build()
|
||||||
.into(holder.item.podcastChannelCoverImageView);
|
.into(holder.item.podcastChannelCoverImageView);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user