mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 08:20:32 +05:30
Merge pull request #5497 from RafaelsRamos/rafa/reset_view
fix: clear views on VideoAdapter's onBindViewHolder
This commit is contained in:
commit
6dc81c2b7d
@ -103,6 +103,8 @@ class VideosAdapter(
|
||||
|
||||
@SuppressLint("SetTextI18n")
|
||||
override fun onBindViewHolder(holder: VideosViewHolder, position: Int) {
|
||||
holder.trendingRowBinding?.thumbnail?.setImageDrawable(null)
|
||||
|
||||
val video = streamItems[position]
|
||||
val videoId = video.url?.toID()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user