[Android] Show video group infos on the left

Geoffrey Métais git at videolan.org
Tue May 30 13:32:48 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue May 30 11:46:37 2017 +0200| [adf956b8b8a3a834a98496b8365cc4f4c802476d] | committer: Geoffrey Métais

Show video group infos on the left

> https://code.videolan.org/videolan/vlc-android/commit/adf956b8b8a3a834a98496b8365cc4f4c802476d
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 cf2446df1..931b830d1 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
@@ -243,14 +243,14 @@ public class VideoListAdapter extends RecyclerView.Adapter<VideoListAdapter.View
 
     private void fillView(ViewHolder holder, MediaWrapper media) {
         String text = "";
-        String resolution;
+        String resolution = "";
         int max = 0;
         int progress = 0;
 
         if (media.getType() == MediaWrapper.TYPE_GROUP) {
             MediaGroup mediaGroup = (MediaGroup) media;
             int size = mediaGroup.size();
-            resolution = VLCApplication.getAppResources().getQuantityString(R.plurals.videos_quantity, size, size);
+            text = VLCApplication.getAppResources().getQuantityString(R.plurals.videos_quantity, size, size);
         } else {
             /* Time / Duration */
             if (media.getLength() > 0) {



More information about the Android mailing list