[Android] ViewModel: use AndroidX scope for coroutines

Geoffrey Métais git at videolan.org
Wed Oct 16 17:38:40 CEST 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Oct 14 17:37:49 2019 +0200| [183c939eed430874e6a12a2a4a2e39e0efdb126a] | committer: Geoffrey Métais

ViewModel: use AndroidX scope for coroutines

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

 build.gradle                                       |  1 +
 vlc-android/build.gradle                           |  1 +
 .../src/org/videolan/vlc/PlaybackService.kt        |  8 +++----
 .../vlc/providers/medialibrary/AlbumsProvider.kt   | 18 +++++++--------
 .../vlc/providers/medialibrary/ArtistsProvider.kt  | 10 ++++-----
 .../vlc/providers/medialibrary/FoldersProvider.kt  |  2 +-
 .../vlc/providers/medialibrary/GenresProvider.kt   |  8 +++----
 .../providers/medialibrary/MedialibraryProvider.kt |  5 +++--
 .../providers/medialibrary/PlaylistsProvider.kt    |  8 +++----
 .../vlc/providers/medialibrary/TracksProvider.kt   | 26 +++++++++++-----------
 .../providers/medialibrary/VideoGroupsProvider.kt  |  2 +-
 .../vlc/providers/medialibrary/VideosProvider.kt   | 18 +++++++--------
 .../src/org/videolan/vlc/viewmodels/BaseModel.kt   |  7 +++---
 .../videolan/vlc/viewmodels/MedialibraryModel.kt   |  3 ++-
 .../vlc/viewmodels/MedialibraryViewModel.kt        |  3 ++-
 .../org/videolan/vlc/viewmodels/PlaylistModel.kt   |  9 +++-----
 .../src/org/videolan/vlc/viewmodels/ScopedModel.kt | 18 ---------------
 .../org/videolan/vlc/viewmodels/SortableModel.kt   |  3 ++-
 .../org/videolan/vlc/viewmodels/StreamsModel.kt    |  3 ++-
 .../org/videolan/vlc/viewmodels/SubtitlesModel.kt  | 14 ++++++------
 .../vlc/viewmodels/browser/BrowserModel.kt         |  3 ++-
 .../vlc/viewmodels/mobile/VideosViewModel.kt       | 11 ++++-----
 22 files changed, 85 insertions(+), 96 deletions(-)

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


More information about the Android mailing list