[Android] Factorize ViewModels between TV and mobile

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


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Mar 28 10:52:52 2018 +0200| [600459e7b3cd444647744cb2a3b8d546fb037fd6] | committer: Geoffrey Métais

Factorize ViewModels between TV and mobile

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

 .../vlc/gui/tv/browser/CategoriesFragment.kt       |  4 +--
 .../vlc/gui/tv/browser/VideoBrowserFragment.kt     | 10 +++---
 .../src/org/videolan/vlc/util/Kextensions.kt       |  3 ++
 .../src/org/videolan/vlc/util/ModelsHelper.kt      |  4 +--
 .../src/org/videolan/vlc/viewmodels/BaseModel.kt   | 19 +++++++++--
 .../org/videolan/vlc/viewmodels/VideosProvider.kt  |  2 +-
 .../src/org/videolan/vlc/viewmodels/tv/TvModel.kt  | 35 -------------------
 .../videolan/vlc/viewmodels/tv/VideosTvProvider.kt | 39 ----------------------
 8 files changed, 30 insertions(+), 86 deletions(-)

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


More information about the Android mailing list