[Android] Browsers ViewModel

Geoffrey Métais git at videolan.org
Wed Apr 4 18:34:47 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Feb 26 17:42:18 2018 +0100| [66de299bba44d5f500d99622a5138b9afa8b15ae] | committer: Geoffrey Métais

Browsers ViewModel

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

 vlc-android/res/layout/directory_browser.xml       |  96 +++--
 vlc-android/res/layout/simple_item.xml             |  36 ++
 .../src/org/videolan/vlc/gui/SimpleAdapter.kt      |  39 ++
 .../vlc/gui/browser/BaseBrowserAdapter.java        |  95 +----
 .../vlc/gui/browser/BaseBrowserFragment.java       | 432 ++++-----------------
 .../vlc/gui/browser/FileBrowserFragment.java       |  30 +-
 .../vlc/gui/browser/FilePickerAdapter.java         |  15 -
 .../vlc/gui/browser/FilePickerFragment.java        |  26 +-
 .../vlc/gui/browser/NetworkBrowserFragment.java    | 144 +++----
 .../vlc/gui/browser/StorageBrowserAdapter.java     |  12 +-
 .../vlc/gui/browser/StorageBrowserFragment.java    |  84 +---
 .../src/org/videolan/vlc/util/FilterDelagate.kt    |  29 +-
 .../src/org/videolan/vlc/viewmodels/BaseModel.kt   |  77 ++--
 .../org/videolan/vlc/viewmodels/BrowserProvider.kt | 244 ++++++++++++
 .../videolan/vlc/viewmodels/FileBrowserProvider.kt |  79 ++++
 .../org/videolan/vlc/viewmodels/NetworkProvider.kt |  55 +++
 .../org/videolan/vlc/viewmodels/StorageProvider.kt |  57 +++
 .../org/videolan/vlc/viewmodels/VideosProvider.kt  |  30 +-
 18 files changed, 859 insertions(+), 721 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/66de299bba44d5f500d99622a5138b9afa8b15ae


More information about the Android mailing list