[Android] Manage recyclerview updates with DiffUtil

Geoffrey Métais git at videolan.org
Thu Dec 1 16:21:28 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Nov 30 19:23:07 2016 +0100| [85472ea715b50362eb25102338761c10d132be41] | committer: Geoffrey Métais

Manage recyclerview updates with DiffUtil

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

 vlc-android/res/layout/playlist_item.xml           |   2 +-
 .../videolan/vlc/gui/audio/AudioAlbumFragment.java |   1 -
 .../vlc/gui/audio/AudioAlbumsSongsFragment.java    |  21 ++-
 .../vlc/gui/audio/AudioBrowserAdapter.java         | 104 ++++++++++-----
 .../vlc/gui/audio/AudioBrowserFragment.java        | 141 ++++++++-------------
 .../org/videolan/vlc/gui/audio/AudioPlayer.java    |  20 +--
 .../videolan/vlc/gui/audio/PlaylistAdapter.java    |  78 +++++++-----
 .../videolan/vlc/gui/video/VideoGridFragment.java  |  87 +++++--------
 .../videolan/vlc/gui/video/VideoListAdapter.java   |  56 ++++++--
 .../vlc/gui/video/VideoPlayerActivity.java         |  10 +-
 .../videolan/vlc/util/MediaItemDiffCallback.java   |  43 +++++++
 .../src/org/videolan/vlc/util/MediaItemFilter.java |   2 +
 12 files changed, 301 insertions(+), 264 deletions(-)

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


More information about the Android mailing list