[Android] AudioPlaylist: remove uneeded cast

Jean-Baptiste Kempf git at videolan.org
Sat May 23 19:09:14 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 23 19:03:12 2015 +0200| [d13e3e11b1aea6ff82ca02155abee70727d71ba7] | committer: Jean-Baptiste Kempf

AudioPlaylist: remove uneeded cast

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

 vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistAdapter.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistAdapter.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistAdapter.java
index 8963f3b..86ff1bd 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistAdapter.java
@@ -77,7 +77,7 @@ public class AudioPlaylistAdapter extends ArrayAdapter<MediaWrapper> {
             holder.moveButton = (ImageButton) v.findViewById(R.id.move);
             holder.expansion = (LinearLayout)v.findViewById(R.id.item_expansion);
             holder.layoutItem = (LinearLayout)v.findViewById(R.id.layout_item);
-            holder.layoutFooter = (View)v.findViewById(R.id.layout_footer);
+            holder.layoutFooter = v.findViewById(R.id.layout_footer);
             holder.itemGroup = (AudioPlaylistItemViewGroup)v.findViewById(R.id.playlist_item);
             v.setTag(holder);
         } else



More information about the Android mailing list