[Android] Clear subdirectories content on refresh
Geoffrey Métais
git at videolan.org
Tue Jan 12 15:52:43 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 12 15:52:15 2016 +0100| [8abdbd562bded470df7c0c78be00d0b30aed815a] | committer: Geoffrey Métais
Clear subdirectories content on refresh
> https://code.videolan.org/videolan/vlc-android/commit/8abdbd562bded470df7c0c78be00d0b30aed815a
---
vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
index 879431b..8c39010 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
@@ -300,6 +300,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
@Override
public void refresh() {
mAdapter.clear();
+ mMediaLists.clear();
if (mMediaBrowser == null)
mMediaBrowser = new MediaBrowser(VLCInstance.get(), this);
else
More information about the Android
mailing list