[Android] Refactor AudioPlayer with ViewModel

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


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Mar 14 18:40:40 2018 +0100| [8039399f9d03eb5257cec81a54111d7bbc0f0101] | committer: Geoffrey Métais

Refactor AudioPlayer with ViewModel

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

 vlc-android/res/layout/audio_player.xml            |   1 +
 .../src/org/videolan/vlc/gui/audio/AudioPlayer.kt  | 417 +++++++++++----------
 .../videolan/vlc/gui/audio/PlaylistAdapter.java    | 108 +-----
 .../helpers/SwipeDragItemTouchHelperCallback.java  |   2 -
 .../vlc/gui/video/VideoPlayerActivity.java         |  19 +-
 .../vlc/interfaces/SwipeDragHelperAdapter.java     |   2 -
 .../src/org/videolan/vlc/util/FilterDelegate.kt    |  43 ++-
 .../src/org/videolan/vlc/util/ModelsHelper.kt      |  11 +
 .../org/videolan/vlc/viewmodels/PlaylistModel.kt   |  60 +++
 9 files changed, 348 insertions(+), 315 deletions(-)

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


More information about the Android mailing list