[Android] Browser viewmodel split into model + provider

Geoffrey Métais git at videolan.org
Mon Jun 4 16:03:45 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jun  1 17:00:36 2018 +0200| [56263a9f492fec3d8e21020fe14584347b8d8a0e] | committer: Geoffrey Métais

Browser viewmodel split into model + provider

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

 .../src/org/videolan/vlc/ExternalMonitor.java      |  4 +
 .../src/org/videolan/vlc/MediaSessionCallback.kt   |  2 +
 .../src/org/videolan/vlc/gui/ContentActivity.java  |  2 +-
 .../src/org/videolan/vlc/gui/HistoryFragment.java  | 14 ++--
 .../vlc/gui/audio/AudioAlbumsSongsFragment.java    |  4 +-
 .../vlc/gui/audio/AudioBrowserFragment.java        |  4 +-
 .../vlc/gui/browser/BaseBrowserFragment.java       | 28 ++++---
 .../vlc/gui/browser/FileBrowserFragment.java       | 13 ++--
 .../vlc/gui/browser/FilePickerFragment.java        |  7 +-
 .../vlc/gui/browser/MediaBrowserFragment.java      | 24 +++---
 .../vlc/gui/browser/NetworkBrowserFragment.java    | 12 +--
 .../vlc/gui/browser/StorageBrowserFragment.java    |  5 +-
 .../src/org/videolan/vlc/gui/helpers/UiTools.java  |  2 +-
 .../vlc/gui/tv/browser/BrowserGridFragment.java    |  6 +-
 .../vlc/gui/tv/browser/CategoriesFragment.kt       |  6 +-
 .../gui/tv/browser/DirectoryBrowserFragment.java   |  9 ++-
 .../vlc/gui/tv/browser/NetworkBrowserFragment.java |  8 +-
 .../vlc/gui/tv/browser/SongsBrowserFragment.java   |  6 +-
 .../vlc/gui/tv/browser/VideoBrowserFragment.kt     |  4 +-
 .../videolan/vlc/gui/video/VideoGridFragment.java  | 12 +--
 .../browser => providers}/BrowserProvider.kt       | 66 +++++-----------
 .../browser => providers}/FileBrowserProvider.kt   | 14 +---
 .../browser => providers}/FilePickerProvider.kt    | 16 +---
 .../org/videolan/vlc/providers/NetworkProvider.kt  | 38 ++++++++++
 .../browser => providers}/StorageProvider.kt       | 17 +----
 .../vlc/viewmodels/browser/BrowserModel.kt         | 87 ++++++++++++++++++++++
 .../vlc/viewmodels/browser/NetworkModel.kt         | 36 +++++++++
 .../vlc/viewmodels/browser/NetworkProvider.kt      | 59 ---------------
 28 files changed, 280 insertions(+), 225 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/56263a9f492fec3d8e21020fe14584347b8d8a0e


More information about the Android mailing list