[Android] Add LiveData to browserFavs

Habib Kazemi git at videolan.org
Mon Jul 30 15:59:59 CEST 2018


vlc-android | branch: master | Habib Kazemi <kazemihabib1996 at gmail.com> | Fri Jul 27 19:58:08 2018 +0430| [930191e4773ba98aeb986794ac1d8b865da4e77f] | committer: Geoffrey Métais

Add LiveData to browserFavs

Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>

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

 .../org/videolan/vlc/database/BrowserFavDaoTest.kt | 11 ++--
 .../vlc/repository/BrowserFavRepositoryTest.kt     |  9 ++-
 .../org/videolan/vlc/util/LiveDataTestUtil.kt      | 48 ++++++++++++++++
 .../src/org/videolan/vlc/database/BrowserFavDao.kt |  7 ++-
 .../vlc/gui/browser/NetworkBrowserFragment.java    | 11 +---
 .../src/org/videolan/vlc/gui/tv/MainTvFragment.kt  | 45 ++++++++-------
 .../vlc/gui/tv/MediaItemDetailsFragment.java       |  2 +-
 .../org/videolan/vlc/providers/NetworkProvider.kt  | 13 -----
 .../vlc/repository/BrowserFavRepository.kt         | 66 +++++++++++++++-------
 .../vlc/viewmodels/browser/NetworkModel.kt         | 19 +------
 10 files changed, 138 insertions(+), 93 deletions(-)

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


More information about the Android mailing list