[Android] Refactor BrowserModel: add a delegate to perform the path operations

Nicolas Pomepuy git at videolan.org
Mon Oct 7 11:59:05 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Sep 12 15:47:12 2019 +0200| [e9f587d571a7e63575ec660ba2d3ed3a31f3e1b3] | committer: Geoffrey Métais

Refactor BrowserModel: add a delegate to perform the path operations

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

 .../src/org/videolan/vlc/gui/InfoActivity.kt       |  8 ++-
 .../vlc/gui/browser/BaseBrowserFragment.kt         |  3 +
 .../org/videolan/vlc/gui/browser/PathAdapter.kt    | 63 +++--------------
 .../vlc/gui/tv/browser/FileBrowserTvFragment.kt    |  7 +-
 .../vlc/viewmodels/browser/BrowserModel.kt         |  2 +-
 .../viewmodels/browser/PathOperationDelegate.kt    | 80 ++++++++++++++++++++++
 6 files changed, 102 insertions(+), 61 deletions(-)

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


More information about the Android mailing list