[Android] Pass app context to viewmodels
Geoffrey Métais
git at videolan.org
Fri Aug 10 16:17:46 CEST 2018
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Aug 10 15:56:38 2018 +0200| [0e4fcb7046e2a9c6fde8a42b1ca55a997b70b91d] | committer: Geoffrey Métais
Pass app context to viewmodels
> https://code.videolan.org/videolan/vlc-android/commit/0e4fcb7046e2a9c6fde8a42b1ca55a997b70b91d
---
vlc-android/src/org/videolan/vlc/VLCApplication.java | 14 +++-----------
.../src/org/videolan/vlc/gui/HistoryFragment.java | 2 +-
.../src/org/videolan/vlc/gui/PlaylistActivity.java | 2 +-
.../vlc/gui/audio/AudioAlbumsSongsFragment.java | 4 ++--
.../videolan/vlc/gui/audio/AudioBrowserFragment.java | 10 +++++-----
.../src/org/videolan/vlc/gui/tv/MainTvFragment.kt | 5 ++---
.../org/videolan/vlc/gui/tv/browser/AlbumsFragment.kt | 2 +-
.../org/videolan/vlc/gui/tv/browser/ArtistsFragment.kt | 2 +-
.../org/videolan/vlc/gui/tv/browser/GenresFragment.kt | 4 ++--
.../org/videolan/vlc/gui/tv/browser/MusicFragment.kt | 2 +-
.../vlc/gui/tv/browser/SongsBrowserFragment.java | 2 +-
.../vlc/gui/tv/browser/VideoBrowserFragment.kt | 2 +-
.../org/videolan/vlc/gui/tv/browser/VideosFragment.kt | 2 +-
.../org/videolan/vlc/gui/video/VideoGridFragment.java | 2 +-
.../src/org/videolan/vlc/viewmodels/BaseModel.kt | 3 ++-
.../src/org/videolan/vlc/viewmodels/HistoryModel.kt | 12 +++++++++++-
.../org/videolan/vlc/viewmodels/MedialibraryModel.kt | 3 ++-
.../src/org/videolan/vlc/viewmodels/VideosModel.kt | 16 +++++++++-------
.../org/videolan/vlc/viewmodels/audio/AlbumModel.kt | 13 +++++++------
.../org/videolan/vlc/viewmodels/audio/ArtistModel.kt | 13 +++++++------
.../org/videolan/vlc/viewmodels/audio/AudioModel.kt | 3 ++-
.../org/videolan/vlc/viewmodels/audio/GenresModel.kt | 18 ++++++++++++++----
.../videolan/vlc/viewmodels/audio/PlaylistsModel.kt | 12 +++++++++++-
.../org/videolan/vlc/viewmodels/audio/TracksModel.kt | 13 +++++++------
.../videolan/vlc/viewmodels/browser/BrowserModel.kt | 2 +-
25 files changed, 96 insertions(+), 67 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/0e4fcb7046e2a9c6fde8a42b1ca55a997b70b91d
More information about the Android
mailing list