[Android] Playlist refactor to RecyclerView

Geoffrey Métais git at videolan.org
Mon Nov 2 17:13:53 CET 2015


vlc-ports/android | branch: playlist | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Sep  9 14:38:26 2015 +0200| [d483c1383f37be3d3c65fed17771948d15a8fdaf] | 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=d483c1383f37be3d3c65fed17771948d15a8fdaf
---

 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      |    3 +
 .../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, 377 insertions(+), 646 deletions(-)

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


More information about the Android mailing list