[Android] Implement paging library for audio lists

Geoffrey Métais git at videolan.org
Wed Sep 5 17:50:05 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Aug 30 16:34:29 2018 +0200| [cd9329282750d0d9bde7c4450fce3018a683b03d] | committer: Geoffrey Métais

Implement paging library for audio lists

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

 vlc-android/build.gradle                           |   3 +-
 vlc-android/res/layout/audio_browser_item.xml      |  21 +++-
 .../src/org/videolan/vlc/gui/PlaylistActivity.java |  16 +--
 .../vlc/gui/audio/AudioAlbumsSongsFragment.java    |  45 +++----
 .../vlc/gui/audio/AudioBrowserAdapter.java         | 130 ++++++++++++++-------
 .../vlc/gui/audio/AudioBrowserFragment.java        |  73 ++++++------
 .../videolan/vlc/gui/audio/BaseAudioBrowser.java   |  33 +++---
 .../vlc/gui/browser/MediaBrowserFragment.java      |  12 +-
 .../vlc/gui/dialogs/SavePlaylistDialog.java        |   7 +-
 .../src/org/videolan/vlc/gui/helpers/UiTools.java  |   4 +-
 .../org/videolan/vlc/gui/view/FastScroller.java    |  26 ++---
 .../src/org/videolan/vlc/util/ModelsHelper.kt      |  53 ++++++++-
 .../src/org/videolan/vlc/viewmodels/BaseModel.kt   |  42 +------
 .../org/videolan/vlc/viewmodels/SortableModel.kt   |  43 +++++++
 .../videolan/vlc/viewmodels/paged/MLPagedModel.kt  |  93 +++++++++++++++
 .../vlc/viewmodels/paged/PagedAlbumsModel.kt       |  66 +++++++++++
 .../vlc/viewmodels/paged/PagedArtistsModel.kt      |  50 ++++++++
 .../vlc/viewmodels/paged/PagedGenresModel.kt       |  28 +++++
 .../vlc/viewmodels/paged/PagedPlaylistsModel.kt    |  23 ++++
 .../vlc/viewmodels/paged/PagedTracksModel.kt       |  63 ++++++++++
 20 files changed, 645 insertions(+), 186 deletions(-)

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


More information about the Android mailing list