[Android] Playlist refactor to RecyclerView

Geoffrey Métais git at videolan.org
Mon Nov 9 17:15:17 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Sep  9 14:38:26 2015 +0200| [af4f0b3d43bcc36d99b6ad6eef8be00b965b08e8] | committer: Geoffrey Métais

Playlist refactor to RecyclerView

- drag to reorder OK
- swipe to dismiss bugged, watch for AppCompat 23.1.1
- TODO: Context menu

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=af4f0b3d43bcc36d99b6ad6eef8be00b965b08e8
---

 vlc-android/res/layout/audio_player.xml            |    6 +-
 vlc-android/res/layout/audio_playlist_item.xml     |  123 ----------
 .../res/layout/audio_playlist_item_drag_shadow.xml |   68 ------
 vlc-android/res/layout/playlist_item.xml           |   58 +++++
 .../src/org/videolan/vlc/PlaybackService.java      |    2 +
 .../src/org/videolan/vlc/PlaylistAdapter.java      |   53 +++++
 .../vlc/gui/SwipeDragItemTouchHelperCallback.java  |   56 +++++
 .../org/videolan/vlc/gui/audio/AudioPlayer.java    |   72 +++---
 .../vlc/gui/audio/AudioPlaylistAdapter.java        |  172 --------------
 .../videolan/vlc/gui/audio/AudioPlaylistView.java  |  234 --------------------
 .../videolan/vlc/gui/audio/PlaylistAdapter.java    |  147 ++++++++++++
 .../vlc/interfaces/SwipeDragHelperAdapter.java     |   31 +++
 12 files changed, 376 insertions(+), 646 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commitdiff;h=af4f0b3d43bcc36d99b6ad6eef8be00b965b08e8


More information about the Android mailing list