[Android] Trigger bindings in playlist

Geoffrey Métais git at videolan.org
Thu Jun 9 11:09:39 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jun  9 10:57:46 2016 +0200| [48af3512dee5ef1f235f319248176f0fc089f927] | committer: Geoffrey Métais

Trigger bindings in playlist

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

 vlc-android/src/org/videolan/vlc/gui/audio/PlaylistAdapter.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/PlaylistAdapter.java b/vlc-android/src/org/videolan/vlc/gui/audio/PlaylistAdapter.java
index 84cbc93..58306f9 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/PlaylistAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/PlaylistAdapter.java
@@ -87,6 +87,7 @@ public class PlaylistAdapter extends RecyclerView.Adapter<PlaylistAdapter.ViewHo
         holder.binding.setTitleColor(mCurrentIndex == position
                 ? UiTools.getColorFromAttribute(ctx, R.attr.list_title_last)
                 : UiTools.getColorFromAttribute(ctx, R.attr.list_title));
+        holder.binding.executePendingBindings();
     }
 
     @Override



More information about the Android mailing list