[Android] New main browser fragment

Nicolas Pomepuy git at videolan.org
Thu Apr 16 15:43:15 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Mar 27 13:43:51 2020 +0100| [20f66ec4ab9ae37befae2c182a9c8b9f193dc85c] | committer: Nicolas Pomepuy

New main browser fragment

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

 .../vlc-android/res/layout/browser_entry.xml       |  48 ++++
 .../vlc-android/res/layout/card_browser_item.xml   | 184 ++++++++++++
 .../res/layout/main_browser_fragment.xml           |  64 +++++
 application/vlc-android/res/values/styles.xml      |   2 +-
 .../src/org/videolan/vlc/gui/SecondaryActivity.kt  |  10 +
 .../videolan/vlc/gui/browser/BaseBrowserAdapter.kt |  72 ++---
 .../vlc/gui/browser/BaseBrowserFragment.kt         |  20 +-
 .../videolan/vlc/gui/browser/BrowserContainer.kt   |  39 +++
 .../vlc/gui/browser/BrowserItemBindingContainer.kt | 119 ++++++++
 .../vlc/gui/browser/FileBrowserFragment.kt         |   6 +-
 .../videolan/vlc/gui/browser/FilePickerAdapter.kt  |  11 +-
 .../videolan/vlc/gui/browser/FilePickerFragment.kt |   8 +-
 .../vlc/gui/browser/MainBrowserFragment.kt         | 317 +++++++++++++++++++++
 .../vlc/gui/browser/NetworkBrowserFragment.kt      |  34 +--
 .../vlc/gui/browser/StorageBrowserAdapter.kt       |  20 +-
 .../vlc/gui/browser/StorageBrowserFragment.kt      |  14 +-
 .../src/org/videolan/vlc/gui/helpers/Navigator.kt  |   4 +-
 .../src/org/videolan/vlc/gui/helpers/UiTools.kt    |   6 +
 .../src/org/videolan/vlc/media/MediaUtils.kt       |   1 +
 .../videolan/vlc/providers/FileBrowserProvider.kt  |   5 -
 .../org/videolan/vlc/providers/NetworkProvider.kt  |  19 +-
 .../vlc/repository/BrowserFavRepository.kt         |   5 +-
 .../viewmodels/browser/BrowserFavoritesModel.kt    |  56 ++++
 .../vlc/viewmodels/browser/BrowserModel.kt         |   7 +-
 24 files changed, 943 insertions(+), 128 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/20f66ec4ab9ae37befae2c182a9c8b9f193dc85c


More information about the Android mailing list