[Android] Filtering and sorting

Geoffrey Métais git at videolan.org
Wed Apr 4 18:35:01 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Mar  6 17:48:04 2018 +0100| [2492ff2cfec00c9f40a50484f4eada4ee7a45ed8] | committer: Geoffrey Métais

Filtering and sorting

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

 medialibrary/jni/AndroidMediaLibrary.cpp           |  40 ++--
 medialibrary/jni/AndroidMediaLibrary.h             |  20 +-
 medialibrary/jni/medialibrary.cpp                  |  60 ++---
 .../org/videolan/medialibrary/Medialibrary.java    |  50 +++-
 .../src/org/videolan/medialibrary/media/Album.java |  12 +-
 .../org/videolan/medialibrary/media/Artist.java    |  20 +-
 .../src/org/videolan/medialibrary/media/Genre.java |  30 ++-
 .../src/org/videolan/vlc/SortableAdapter.java      |  97 --------
 .../src/org/videolan/vlc/gui/ContentActivity.java  |  30 ++-
 .../src/org/videolan/vlc/gui/HistoryFragment.java  |  39 ++--
 .../src/org/videolan/vlc/gui/MainActivity.java     |   2 +-
 .../src/org/videolan/vlc/gui/PlaylistActivity.java |   8 +-
 .../vlc/gui/audio/AudioAlbumsSongsFragment.java    |  26 ++-
 .../vlc/gui/audio/AudioBrowserAdapter.java         | 258 ++++-----------------
 .../vlc/gui/audio/AudioBrowserFragment.java        | 160 ++++++-------
 .../videolan/vlc/gui/audio/BaseAudioBrowser.java   |  61 +----
 .../vlc/gui/browser/BaseBrowserFragment.java       |  41 ++--
 .../vlc/gui/browser/FileBrowserFragment.java       |   8 +-
 .../vlc/gui/browser/FilePickerFragment.java        |   4 +-
 .../vlc/gui/browser/MediaBrowserFragment.java      | 119 ++++++----
 .../vlc/gui/browser/NetworkBrowserFragment.java    |   4 +-
 .../videolan/vlc/gui/browser/SortableFragment.java | 123 ----------
 .../vlc/gui/browser/StorageBrowserFragment.java    |   2 +-
 .../vlc/gui/dialogs/SavePlaylistDialog.java        |   2 +-
 .../src/org/videolan/vlc/gui/helpers/UiTools.java  |  76 ++----
 .../org/videolan/vlc/gui/tv/MainTvActivity.java    |   2 +-
 .../vlc/gui/tv/browser/BrowserGridFragment.java    |   2 +-
 .../vlc/gui/tv/browser/MediaSortedFragment.java    |   2 +-
 .../videolan/vlc/gui/video/VideoGridFragment.java  |  66 +-----
 .../org/videolan/vlc/gui/view/FastScroller.java    |   2 +-
 .../src/org/videolan/vlc/util/Constants.java       |  12 -
 .../vlc/util/MediaLibraryItemComparator.java       | 178 --------------
 .../src/org/videolan/vlc/util/ModelsHelper.kt      | 135 +++++++++++
 .../src/org/videolan/vlc/viewmodels/BaseModel.kt   |  42 +++-
 .../org/videolan/vlc/viewmodels/HistoryProvider.kt |   2 +
 .../org/videolan/vlc/viewmodels/VideosProvider.kt  |   3 +
 .../videolan/vlc/viewmodels/audio/AlbumProvider.kt |  22 +-
 .../vlc/viewmodels/audio/ArtistProvider.kt         |   7 +-
 .../videolan/vlc/viewmodels/audio/AudioModel.kt    |   8 +
 .../vlc/viewmodels/audio/Genresprovider.kt         |   7 +-
 .../vlc/viewmodels/audio/PlaylistsProvider.kt      |   9 +-
 .../vlc/viewmodels/audio/TracksProvider.kt         |  34 ++-
 .../vlc/viewmodels/browser/BrowserProvider.kt      |  38 ++-
 43 files changed, 723 insertions(+), 1140 deletions(-)

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


More information about the Android mailing list