[Android] Fix thumbnail partial update
Sébastien Toque
git at videolan.org
Mon Feb 6 21:21:51 CET 2017
vlc-android | branch: master | Sébastien Toque <xilasz at gmail.com> | Mon Feb 6 21:17:22 2017 +0100| [f493ae4f9ff70563180b2e1e7eb34fe1a9f6e0bb] | committer: Sébastien Toque
Fix thumbnail partial update
> https://code.videolan.org/videolan/vlc-android/commit/f493ae4f9ff70563180b2e1e7eb34fe1a9f6e0bb
---
vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
index f617c28..0095732 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
@@ -226,7 +226,7 @@ public class VideoListAdapter extends RecyclerView.Adapter<VideoListAdapter.View
if (position != -1) {
if (!(mVideos.get(position) instanceof MediaGroup))
mVideos.updateItemAt(position, item);
- notifyItemChanged(position, item.getArtworkMrl());
+ notifyItemChanged(position, UPDATE_THUMB);
} else
notifyItemInserted(mVideos.add(item));
}
More information about the Android
mailing list