Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
531
Issue boards
Milestones
Wiki
Code
Merge requests
15
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
61bbfcb6
Commit
61bbfcb6
authored
6 years ago
by
Geoffrey Métais
Browse files
Options
Downloads
Patches
Plain Diff
TV: Update history on track change
parent
3b473997
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vlc-android/src/org/videolan/vlc/gui/tv/MainTvFragment.kt
+4
-0
4 additions, 0 deletions
vlc-android/src/org/videolan/vlc/gui/tv/MainTvFragment.kt
vlc-android/src/org/videolan/vlc/gui/tv/NowPlayingDelegate.kt
+1
-0
1 addition, 0 deletions
...android/src/org/videolan/vlc/gui/tv/NowPlayingDelegate.kt
with
5 additions
and
0 deletions
vlc-android/src/org/videolan/vlc/gui/tv/MainTvFragment.kt
+
4
−
0
View file @
61bbfcb6
...
...
@@ -277,6 +277,10 @@ class MainTvFragment : BrowseSupportFragment(), OnItemViewSelectedListener, OnIt
}
}
fun
updateHistory
()
{
if
(
displayHistory
)
historyModel
.
refresh
()
}
override
fun
onChanged
(
list
:
MutableList
<
MediaWrapper
>?)
{
list
?.
let
{
if
(!
it
.
isEmpty
())
{
...
...
This diff is collapsed.
Click to expand it.
vlc-android/src/org/videolan/vlc/gui/tv/NowPlayingDelegate.kt
+
1
−
0
View file @
61bbfcb6
...
...
@@ -42,6 +42,7 @@ class NowPlayingDelegate(private val fragment: MainTvFragment): PlaybackService.
fragment
.
updateAudioCategories
(
service
?.
currentMediaWrapper
?.
let
{
DummyItem
(
CATEGORY_NOW_PLAYING
,
it
.
title
,
it
.
artist
).
apply
{
setArtWork
(
service
?.
coverArt
)
}
})
fragment
.
updateHistory
()
}
override
fun
onConnected
(
service
:
PlaybackService
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment