mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
Clear views on VideoAdapter' onBindViewHolder
This commit is contained in:
parent
4cd6552c38
commit
2290951a4d
@ -103,6 +103,8 @@ class VideosAdapter(
|
|||||||
|
|
||||||
@SuppressLint("SetTextI18n")
|
@SuppressLint("SetTextI18n")
|
||||||
override fun onBindViewHolder(holder: VideosViewHolder, position: Int) {
|
override fun onBindViewHolder(holder: VideosViewHolder, position: Int) {
|
||||||
|
holder.trendingRowBinding?.thumbnail?.setImageDrawable(null)
|
||||||
|
|
||||||
val video = streamItems[position]
|
val video = streamItems[position]
|
||||||
val videoId = video.url?.toID()
|
val videoId = video.url?.toID()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user