[Android] Factorize sorting code

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


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

Factorize sorting code

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

 .../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   | 26 ++-----
 .../vlc/util/MediaLibraryItemComparator.java       | 18 +++--
 11 files changed, 130 insertions(+), 117 deletions(-)

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


More information about the Android mailing list