[Android] Trigger bindings in playlist
Geoffrey Métais
git at videolan.org
Thu Jun 9 11:42:21 CEST 2016
vlc-android | branch: 2.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jun 9 10:57:46 2016 +0200| [e6c185a42d44e5e806feaade7f051fa0e7771175] | committer: Geoffrey Métais
Trigger bindings in playlist
(cherry picked from commit 48af3512dee5ef1f235f319248176f0fc089f927)
> https://code.videolan.org/videolan/vlc-android/commit/e6c185a42d44e5e806feaade7f051fa0e7771175
---
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