[Android] Medialibrary callbacks refactoring

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


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Sep  5 12:02:49 2018 +0200| [996a44d365dacd26c8861cf1b7fbe9ef01dd262a] | committer: Geoffrey Métais

Medialibrary callbacks refactoring

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

 medialibrary/jni/AndroidMediaLibrary.cpp           |  41 ++--
 .../org/videolan/medialibrary/Medialibrary.java    | 229 +++++++++++++--------
 .../medialibrary/interfaces/MediaAddedCb.java      |   7 -
 .../medialibrary/interfaces/MediaUpdatedCb.java    |   7 -
 .../src/org/videolan/vlc/util/ModelsHelper.kt      |  17 +-
 .../videolan/vlc/viewmodels/MedialibraryModel.kt   |   5 +-
 .../src/org/videolan/vlc/viewmodels/VideosModel.kt |  22 +-
 .../videolan/vlc/viewmodels/audio/AlbumModel.kt    |   7 +-
 .../videolan/vlc/viewmodels/audio/ArtistModel.kt   |  20 +-
 .../videolan/vlc/viewmodels/audio/GenresModel.kt   |  21 +-
 .../vlc/viewmodels/audio/PlaylistsModel.kt         |  22 +-
 .../videolan/vlc/viewmodels/audio/TracksModel.kt   |  37 +++-
 .../videolan/vlc/viewmodels/paged/MLPagedModel.kt  |   6 +-
 .../vlc/viewmodels/paged/PagedAlbumsModel.kt       |   7 +-
 .../vlc/viewmodels/paged/PagedArtistsModel.kt      |   7 +-
 .../vlc/viewmodels/paged/PagedGenresModel.kt       |  21 +-
 .../vlc/viewmodels/paged/PagedPlaylistsModel.kt    |  25 ++-
 .../vlc/viewmodels/paged/PagedTracksModel.kt       |  22 +-
 18 files changed, 345 insertions(+), 178 deletions(-)

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


More information about the Android mailing list