[Android] VideoListFragment: cosmetics

Ludovic Fauvet git at videolan.org
Wed Oct 3 15:17:49 CEST 2012


vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Wed Oct  3 15:14:35 2012 +0200| [bc5b49e1d74785e8e7e58a3a1dede90b43a79509] | committer: Ludovic Fauvet

VideoListFragment: cosmetics

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

 .../org/videolan/vlc/gui/video/VideoListFragment.java   |   15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoListFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoListFragment.java
index edc78de..0853572 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoListFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoListFragment.java
@@ -62,22 +62,18 @@ import com.actionbarsherlock.app.SherlockListFragment;
 
 public class VideoListFragment extends SherlockListFragment implements ISortable {
 
+    public final static String TAG = "VLC/VideoListFragment";
+
     protected static final String ACTION_SCAN_START = "org.videolan.vlc.gui.ScanStart";
     protected static final String ACTION_SCAN_STOP = "org.videolan.vlc.gui.ScanStop";
+    protected static final int UPDATE_ITEM = 0;
 
     protected LinearLayout mLayoutFlipperLoading;
     protected TextView mTextViewNomedia;
-
-    public final static String TAG = "VLC/VideoListFragment";
-
-    private VideoListAdapter mVideoAdapter;
-
     protected Media mItemToUpdate;
-
     protected final CyclicBarrier mBarrier = new CyclicBarrier(2);
 
-    protected static final int UPDATE_ITEM = 0;
-
+    private VideoListAdapter mVideoAdapter;
     private MediaLibrary mMediaLibrary;
     private ThumbnailerManager mThumbnailerManager;
 
@@ -87,11 +83,8 @@ public class VideoListFragment extends SherlockListFragment implements ISortable
     @Override
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
-
         mVideoAdapter = new VideoListAdapter(getActivity());
-
         mMediaLibrary = MediaLibrary.getInstance(getActivity());
-
         setListAdapter(mVideoAdapter);
     }
 



More information about the Android mailing list