[Android] Browsers: Stop subdirectories parsing when stopped

Geoffrey Métais git at videolan.org
Wed Jul 31 15:21:00 CEST 2019


vlc-android | branch: 3.2.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jul 30 10:22:31 2019 +0200| [8f15d80f80a56c430868aa3390cb79a298c5a12c] | committer: Geoffrey Métais

Browsers: Stop subdirectories parsing when stopped

When fragment is stopped, cancel subdirectories discovery

(cherry picked from commit a31ff3d9ea120f323c50fcf498b506bbe28d22f9)

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

 .../vlc/gui/browser/FileBrowserFragment.kt         |   4 +-
 .../vlc/gui/browser/StorageBrowserFragment.kt      |   3 +-
 .../org/videolan/vlc/providers/BrowserProvider.kt  | 115 ++++++++++++---------
 .../vlc/viewmodels/browser/BrowserModel.kt         |   2 +-
 4 files changed, 70 insertions(+), 54 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/8f15d80f80a56c430868aa3390cb79a298c5a12c


More information about the Android mailing list