[Android] Use LiveData to show/hide audio player

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


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar  8 17:20:10 2018 +0100| [b0e6364fab181564aa0f774527d82f19e6528d9c] | committer: Geoffrey Métais

Use LiveData to show/hide audio player

Replaces Intent system

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

 .../src/org/videolan/vlc/PlaybackService.java      |  9 +-----
 .../src/org/videolan/vlc/StartActivity.java        |  3 --
 .../vlc/gui/AudioPlayerContainerActivity.java      | 36 ++++++++++-----------
 .../src/org/videolan/vlc/gui/audio/AudioPlayer.kt  | 37 ++++------------------
 .../src/org/videolan/vlc/media/PlaylistManager.kt  | 16 +++++++++-
 .../src/org/videolan/vlc/util/Constants.java       |  3 --
 6 files changed, 38 insertions(+), 66 deletions(-)

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


More information about the Android mailing list