[Android] ViewModels: Delegate medialibrary callbacks

Geoffrey Métais git at videolan.org
Thu Jul 4 10:04:46 CEST 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jul  3 18:30:05 2019 +0200| [61408a676a74dd2fa78da7225cb4c735f649d115] | committer: Geoffrey Métais

ViewModels: Delegate medialibrary callbacks

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

 .../java/org/videolan/tools/KotlinExtensions.kt    |  16 ++-
 .../src/org/videolan/vlc/util/ModelsHelper.kt      |  18 ---
 .../videolan/vlc/viewmodels/CallBackDelegate.kt    | 156 +++++++++++++++++++++
 .../videolan/vlc/viewmodels/MedialibraryModel.kt   |  20 +--
 .../vlc/viewmodels/MedialibraryViewModel.kt        |  18 +--
 .../vlc/viewmodels/mobile/AlbumSongsViewModel.kt   |  32 +----
 .../vlc/viewmodels/mobile/AudioBrowserViewModel.kt |  40 +-----
 .../vlc/viewmodels/mobile/PlaylistViewModel.kt     |  35 +----
 .../vlc/viewmodels/mobile/PlaylistsViewModel.kt    |   4 +
 .../vlc/viewmodels/mobile/VideosViewModel.kt       |  16 +--
 .../vlc/viewmodels/tv/MediaBrowserViewModel.kt     |  20 ++-
 11 files changed, 216 insertions(+), 159 deletions(-)

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


More information about the Android mailing list