[Android] Add an "only favorites" field in the view models and display the state in the tabs

Nicolas Pomepuy git at videolan.org
Fri Nov 18 12:29:45 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Nov  9 11:13:12 2022 +0100| [e8f988a612a6eaf1c2a25f8022742047439ab8de] | committer: Nicolas Pomepuy

Add an "only favorites" field in the view models and display the state in the tabs

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

 .../standard_selection_control_normal_primary.xml  | 30 ++++++++++++
 .../src/main/res/drawable/ic_emoji_favorite.xml    |  2 +
 application/vlc-android/res/layout/audio_tab.xml   | 55 ++++++++++++++++++++++
 application/vlc-android/res/layout/tab_layout.xml  |  1 +
 .../videolan/vlc/gui/audio/AudioBrowserFragment.kt | 31 ++++++++++--
 .../videolan/vlc/gui/audio/AudioPagerAdapter.kt    | 10 ++--
 .../org/videolan/vlc/gui/audio/BaseAudioBrowser.kt |  4 +-
 .../vlc/providers/medialibrary/AlbumsProvider.kt   |  1 +
 .../providers/medialibrary/MedialibraryProvider.kt |  8 ++++
 .../vlc/providers/medialibrary/TracksProvider.kt   |  1 +
 10 files changed, 131 insertions(+), 12 deletions(-)

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


More information about the Android mailing list