[Android] Fix last track hidden in info activity
Geoffrey Métais
git at videolan.org
Thu Sep 7 13:52:55 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Sep 7 13:52:21 2017 +0200| [4249fc63870a9399f00badc93273c1103687fd20] | committer: Geoffrey Métais
Fix last track hidden in info activity
> https://code.videolan.org/videolan/vlc-android/commit/4249fc63870a9399f00badc93273c1103687fd20
---
vlc-android/src/org/videolan/vlc/gui/video/MediaInfoAdapter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoAdapter.java b/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoAdapter.java
index 96405352a..7c7f1fbb6 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoAdapter.java
@@ -83,7 +83,7 @@ public class MediaInfoAdapter extends RecyclerView.Adapter<MediaInfoAdapter.View
mDataset = tracks;
if (size > 0)
notifyItemRangeRemoved(0, size-1);
- notifyItemRangeInserted(0, tracks.size()-1);
+ notifyItemRangeInserted(0, tracks.size());
}
private void appendCommon(StringBuilder textBuilder, Resources res, Media.Track track) {
More information about the Android
mailing list