[Android] SideBar: cosmetics

Jean-Baptiste Kempf git at videolan.org
Sun Apr 13 17:45:03 CEST 2014


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Apr 13 17:38:55 2014 +0200| [e8a5dc29e0e9d4a451d9c97f8edad118e4ecb333] | committer: Jean-Baptiste Kempf

SideBar: cosmetics

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

 vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java b/vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java
index 7f20ff1..dc57328 100644
--- a/vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java
@@ -92,7 +92,7 @@ public class SidebarAdapter extends BaseAdapter {
 
     @Override
     public long getItemId(int position) {
-        return (long)position; // The SidebarEntry list is unique
+        return position; // The SidebarEntry list is unique
     }
 
     @Override
@@ -131,6 +131,7 @@ public class SidebarAdapter extends BaseAdapter {
         if(mFragments.containsKey(id) && mFragments.get(id) != null) {
             return mFragments.get(id);
         }
+
         Fragment f;
         if(id.equals("audio")) {
             f = new AudioBrowserFragment();



More information about the Android mailing list