[Android] Remove unused field

Geoffrey Métais git at videolan.org
Fri Feb 20 10:45:09 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb 19 19:16:00 2015 +0100| [751dcfb1c13ebd04d60c4265f7986a7896099871] | committer: Geoffrey Métais

Remove unused field

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=751dcfb1c13ebd04d60c4265f7986a7896099871
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java |    2 --
 1 file changed, 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 bcbf634..7adb908 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
@@ -149,7 +149,6 @@ public class VideoListAdapter extends ArrayAdapter<MediaWrapper>
                 v = inflater.inflate(R.layout.video_list_card, parent, false);
 
             holder = new ViewHolder();
-            holder.layout = v.findViewById(R.id.layout_item);
             holder.thumbnail = (ImageView) v.findViewById(R.id.ml_item_thumbnail);
             holder.title = (TextView) v.findViewById(R.id.ml_item_title);
             holder.time = (TextView) v.findViewById(R.id.ml_item_time);
@@ -241,7 +240,6 @@ public class VideoListAdapter extends ArrayAdapter<MediaWrapper>
 
     static class ViewHolder {
         boolean listmode;
-        View layout;
         ImageView thumbnail;
         TextView title;
         TextView time;



More information about the Android mailing list