[Android] Refactor DiffUtil adapter

Geoffrey Métais git at videolan.org
Mon Dec 11 16:42:22 CET 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Nov  7 11:41:07 2017 +0100| [02cc51d7c41d2a7c63e75d8bf002e7974cc209e1] | committer: Geoffrey Métais

Refactor DiffUtil adapter

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

 .../src/org/videolan/vlc/SortableAdapter.java      |  11 +-
 .../org/videolan/vlc/gui/BaseQueuedAdapter.java    | 115 ---------------------
 .../src/org/videolan/vlc/gui/DiffUtilAdapter.kt    |  51 +++++++++
 .../vlc/gui/audio/AudioAlbumsSongsFragment.java    |  21 ++--
 .../vlc/gui/audio/AudioBrowserAdapter.java         |  42 ++++----
 .../vlc/gui/audio/AudioBrowserFragment.java        |  35 +------
 .../videolan/vlc/gui/audio/PlaylistAdapter.java    |  20 ++--
 .../vlc/gui/browser/BaseBrowserAdapter.java        |  34 +++---
 .../vlc/gui/browser/BaseBrowserFragment.java       |  23 +----
 .../vlc/gui/browser/FileBrowserFragment.java       |   7 +-
 .../videolan/vlc/gui/video/VideoGridFragment.java  |   7 +-
 .../videolan/vlc/gui/video/VideoListAdapter.java   |  59 ++++-------
 .../videolan/vlc/util/MediaItemDiffCallback.java   |   8 +-
 13 files changed, 144 insertions(+), 289 deletions(-)

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


More information about the Android mailing list