[Android] Use MediatorLiveData for media sections

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


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Mar 30 11:09:03 2018 +0200| [a62d9d7bcd89a1f0e593f7d4429569fcca0ab642] | committer: Geoffrey Métais

Use MediatorLiveData for media sections

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

 .../src/org/videolan/vlc/gui/PlaylistActivity.java |  2 +-
 .../vlc/gui/audio/AudioAlbumsSongsFragment.java    |  8 +++----
 .../vlc/gui/audio/AudioBrowserFragment.java        | 13 +++++++----
 .../videolan/vlc/gui/tv/browser/AlbumsFragment.kt  |  2 +-
 .../videolan/vlc/gui/tv/browser/GenresFragment.kt  |  4 ++--
 .../videolan/vlc/gui/tv/browser/MusicFragment.kt   |  2 +-
 .../vlc/gui/tv/browser/SongsBrowserFragment.java   |  2 +-
 .../src/org/videolan/vlc/util/ModelsHelper.kt      |  4 ++--
 .../src/org/videolan/vlc/viewmodels/BaseModel.kt   |  8 +++++++
 .../videolan/vlc/viewmodels/audio/AlbumProvider.kt | 14 +++++-------
 .../vlc/viewmodels/audio/ArtistProvider.kt         | 19 +++++++++-------
 .../vlc/viewmodels/audio/Genresprovider.kt         | 17 ++++----------
 .../vlc/viewmodels/audio/PlaylistsProvider.kt      |  5 +++--
 .../vlc/viewmodels/audio/TracksProvider.kt         | 26 +++++++++-------------
 14 files changed, 64 insertions(+), 62 deletions(-)

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


More information about the Android mailing list