[Android] VideoList: update the list when the view is created

Sébastien Toque git at videolan.org
Tue Jul 3 07:25:25 CEST 2012


android | branch: master | Sébastien Toque <xilasz at gmail.com> | Tue Jul  3 07:25:21 2012 +0200| [01aba3a6d589cd986bba109a0853322a80aa6011] | committer: Sébastien Toque

VideoList: update the list when the view is created

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=01aba3a6d589cd986bba109a0853322a80aa6011
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoListFragment.java |    1 +
 1 file changed, 1 insertion(+)

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 ba78f7e..11c58ea 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoListFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoListFragment.java
@@ -92,6 +92,7 @@ public class VideoListFragment extends SherlockListFragment implements ISortable
     public void onViewCreated(View view, Bundle savedInstanceState) {
         super.onViewCreated(view, savedInstanceState);
         registerForContextMenu(getListView());
+        updateList();
     }
 
     @Override



More information about the Android mailing list