[Android] Update empty view if no network connection

Geoffrey Métais git at videolan.org
Fri Mar 31 10:16:00 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar 30 17:08:59 2017 +0200| [43d05233cd69a2d63dd692230eae75fae8767613] | committer: Geoffrey Métais

Update empty view if no network connection

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
index d08067e..4ab7f55 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
@@ -151,6 +151,7 @@ public class NetworkBrowserFragment extends BaseBrowserFragment {
                 mAdapter.clear();
                 mFavorites = 0;
             }
+            updateEmptyView();
             return;
         }
 



More information about the Android mailing list