[Android] Factorize sorting code

Geoffrey Métais git at videolan.org
Mon Jul 24 17:06:53 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jul 24 17:02:00 2017 +0200| [ce86b75e7648e44e4b1a698968e185ccde43254d] | committer: Geoffrey Métais

Factorize sorting code

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

 .../src/org/videolan/vlc/SortableAdapter.java      | 49 +++++++++++++
 .../vlc/gui/audio/AudioBrowserAdapter.java         | 24 ++-----
 .../videolan/vlc/gui/audio/BaseAudioBrowser.java   |  3 +-
 .../vlc/gui/browser/BaseBrowserAdapter.java        | 25 +------
 .../vlc/gui/browser/BaseBrowserFragment.java       |  3 +-
 .../vlc/gui/browser/FileBrowserFragment.java       |  2 +-
 .../vlc/gui/browser/FilePickerFragment.java        |  2 +-
 .../videolan/vlc/gui/browser/SortableFragment.java | 14 +++-
 .../videolan/vlc/gui/video/VideoGridFragment.java  | 81 +++++++++++-----------
 .../videolan/vlc/gui/video/VideoListAdapter.java   | 28 ++------
 .../vlc/util/MediaLibraryItemComparator.java       | 18 +++--
 11 files changed, 131 insertions(+), 118 deletions(-)

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


More information about the Android mailing list