[Android] Deactivate pull-to-refresh in file picker

Geoffrey Métais git at videolan.org
Thu Apr 6 14:46:18 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Apr  6 14:43:19 2017 +0200| [f8d19d6e0523a03a1299a2df4ed12cfa4a3451a2] | committer: Geoffrey Métais

Deactivate pull-to-refresh in file picker

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/FilePickerFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/FilePickerFragment.java
index d9b76d6..015d899 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/FilePickerFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/FilePickerFragment.java
@@ -82,6 +82,7 @@ public class FilePickerFragment extends FileBrowserFragment {
     public void onStart() {
         super.onStart();
         getActivity().setTitle(getTitle());
+        mSwipeRefreshLayout.setEnabled(false);
     }
 
     public void onClick(View v, int position, MediaLibraryItem item) {



More information about the Android mailing list