[Android] Full refresh on pull-to-refresh in audio

Geoffrey Métais git at videolan.org
Mon Dec 15 14:02:41 CET 2014


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Dec 15 14:01:10 2014 +0100| [9fd873656c11d1439d5deb4c36083107485b0a79] | committer: Geoffrey Métais

Full refresh on pull-to-refresh in audio

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
index fd7a9ef..55cf342 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
@@ -473,7 +473,7 @@ public class AudioBrowserFragment extends Fragment implements SwipeRefreshLayout
 
     @Override
     public void onRefresh() {
-        updateLists();
+        MediaLibrary.getInstance().loadMediaItems(getActivity(), true);
     }
 
     @Override



More information about the Android mailing list