[Android] Bookmarks implementation for the audio player

Nicolas Pomepuy git at videolan.org
Tue May 18 04:44:51 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon May 10 14:44:24 2021 +0200| [7ed5e0fa9b07078980f26f574a6f0ddc24f3628b] | committer: Nicolas Pomepuy

Bookmarks implementation for the audio player

Fixes #511

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

 .../resources/src/main/res/drawable/ic_add.xml     |   9 ++
 .../src/main/res/drawable/ic_bookmark.xml          |  42 +-----
 .../src/main/res/drawable/ic_bookmark_marker.xml   |  11 ++
 .../src/main/res/drawable/ic_bookmark_w.xml        |  11 ++
 .../resources/src/main/res/drawable/ic_chapter.xml |  32 +---
 .../src/main/res/drawable/ic_chapter_w.xml         |  32 +---
 .../resources/src/main/res/drawable/ic_fab_add.xml |  24 ---
 .../resources/src/main/res/values/attrs.xml        |   2 +
 .../resources/src/main/res/values/colors.xml       |   1 +
 .../resources/src/main/res/values/strings.xml      |   3 +
 .../vlc-android/res/layout-land/audio_player.xml   | 165 ++++++++++++---------
 .../vlc-android/res/layout/audio_player.xml        |  29 +++-
 .../vlc-android/res/layout/bookmark_item.xml       | 106 +++++++++++++
 application/vlc-android/res/layout/bookmarks.xml   | 115 ++++++++++++++
 .../vlc-android/res/menu/bookmark_options.xml      |   9 ++
 application/vlc-android/res/values/styles.xml      |   6 +
 .../src/org/videolan/vlc/gui/audio/AudioPlayer.kt  |  32 +++-
 .../videolan/vlc/gui/helpers/BookmarkAdapter.kt    | 122 +++++++++++++++
 .../vlc/gui/helpers/BookmarkListDelegate.kt        | 165 +++++++++++++++++++++
 .../vlc/gui/helpers/PlayerOptionsDelegate.kt       |  11 ++
 .../org/videolan/vlc/viewmodels/BookmarkModel.kt   | 130 ++++++++++++++++
 .../videolan/medialibrary/media/BookmarkImpl.java  |   1 +
 22 files changed, 861 insertions(+), 197 deletions(-)

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


More information about the Android mailing list