[Android] Add network servers at the end of list

Geoffrey Métais git at videolan.org
Tue Mar 15 17:58:51 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Mar 15 17:57:22 2016 +0100| [ad93b11fdc869d8d043c26cf8e924c1e7acfac13] | committer: Geoffrey Métais

Add network servers at the end of list

> https://code.videolan.org/videolan/vlc-android/commit/ad93b11fdc869d8d043c26cf8e924c1e7acfac13
---

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

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 a51bd5d..b2a55e7 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
@@ -227,7 +227,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
     @Override
     public void onMediaAdded(int index, Media media) {
         boolean empty = mAdapter.isEmpty();
-        mAdapter.addItem(media, mReadyToDisplay && mRoot, mRoot);
+        mAdapter.addItem(media, mReadyToDisplay && mRoot, false);
         if (empty && mReadyToDisplay)
             updateEmptyView();
         if (mRoot && mSwipeRefreshLayout.isRefreshing())



More information about the Android mailing list