[Android] Pass application context to browsers providers

Geoffrey Métais git at videolan.org
Fri Aug 3 12:27:03 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Aug  3 12:26:24 2018 +0200| [4aed670f906780a8d9846e8a5f6537e4c605a026] | committer: Geoffrey Métais

Pass application context to browsers providers

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

 .../videolan/vlc/gui/browser/FileBrowserFragment.java   |  4 ++--
 .../videolan/vlc/gui/browser/FilePickerFragment.java    |  2 +-
 .../vlc/gui/browser/NetworkBrowserFragment.java         |  2 +-
 .../vlc/gui/browser/StorageBrowserFragment.java         |  5 ++++-
 .../vlc/gui/tv/browser/BrowserGridFragment.java         |  2 +-
 .../vlc/gui/tv/browser/DirectoryBrowserFragment.java    |  2 +-
 .../vlc/gui/tv/browser/NetworkBrowserFragment.java      |  2 +-
 .../src/org/videolan/vlc/providers/BrowserProvider.kt   |  7 ++++---
 .../org/videolan/vlc/providers/FileBrowserProvider.kt   | 17 +++++++++--------
 .../org/videolan/vlc/providers/FilePickerProvider.kt    |  3 ++-
 .../src/org/videolan/vlc/providers/NetworkProvider.kt   | 10 +++++-----
 .../src/org/videolan/vlc/providers/StorageProvider.kt   |  6 +++---
 .../org/videolan/vlc/viewmodels/browser/BrowserModel.kt | 15 ++++++++-------
 .../org/videolan/vlc/viewmodels/browser/NetworkModel.kt |  7 ++++---
 14 files changed, 46 insertions(+), 38 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/4aed670f906780a8d9846e8a5f6537e4c605a026


More information about the Android mailing list