[Android] For re-loading folder and group thumbnails when invalidated
Nicolas Pomepuy
git at videolan.org
Wed Jul 12 13:26:53 UTC 2023
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Jul 12 15:12:54 2023 +0200| [5bfe74f4fa838e23a76d347915977bb5676de177] | committer: Nicolas Pomepuy
For re-loading folder and group thumbnails when invalidated
> https://code.videolan.org/videolan/vlc-android/commit/5bfe74f4fa838e23a76d347915977bb5676de177
---
.../vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.kt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.kt
index 5d84a29516..6d3c6b6840 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.kt
@@ -141,6 +141,7 @@ class VideoListAdapter(private var isSeenMediaMarkerVisible: Boolean
holder.binding.setVariable(BR.isNetwork, false)
holder.binding.setVariable(BR.isPresent, true)
holder.binding.setVariable(BR.isFavorite, item.isFavorite)
+ holder.binding.setVariable(BR.media, item)
}
is VideoGroup -> holder.itemView.scope.launch {
val count = item.mediaCount()
@@ -152,6 +153,7 @@ class VideoListAdapter(private var isSeenMediaMarkerVisible: Boolean
holder.binding.setVariable(BR.max, 0)
holder.binding.setVariable(BR.isPresent, item.presentCount > 0)
holder.binding.setVariable(BR.isFavorite, item.isFavorite)
+ holder.binding.setVariable(BR.media, item)
}
is MediaWrapper -> {
holder.title.text = if (showFilename.get()) item.fileName else item.title
More information about the Android
mailing list