[Android] Properly update persisted data when overwriting Next metadata

Nicolas Pomepuy git at videolan.org
Thu Nov 28 11:40:44 CET 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Wed Oct 30 13:04:45 2019 +0100| [c034e2a3d9fdaa4fa8bc70158b67b8bace1cc7f7] | committer: Geoffrey Métais

Properly update persisted data when overwriting Next metadata

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

 .../src/org/videolan/vlc/database/MediaImageDao.kt |  4 ++++
 .../vlc/database/MediaMetadataDataFullDao.kt       |  5 +++-
 .../videolan/vlc/database/MediaPersonJoinDao.kt    | 11 ++++++++-
 .../src/org/videolan/vlc/database/PersonDao.kt     | 11 +++++----
 .../vlc/repository/MediaMetadataRepository.kt      |  8 ++++++-
 .../vlc/repository/MediaPersonRepository.kt        |  9 +++----
 .../videolan/vlc/repository/PersonRepository.kt    |  5 ++++
 .../videolan/vlc/viewmodels/MediaMetadataModel.kt  |  2 +-
 .../src/org/videolan/vlc/viewmodels/NextModel.kt   | 28 ++++++++++++++++++----
 9 files changed, 66 insertions(+), 17 deletions(-)

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


More information about the Android mailing list