[Android] Fix glitch in FilePicker

Geoffrey Métais git at videolan.org
Wed Feb 24 19:00:56 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Feb 24 19:00:27 2016 +0100| [8793d5b766be0caf8fdf26c8be9950f9b0b791ed] | committer: Geoffrey Métais

Fix glitch in FilePicker

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/FilePickerAdapter.java b/vlc-android/src/org/videolan/vlc/gui/browser/FilePickerAdapter.java
index 2c72b60..c83e2b7 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/FilePickerAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/FilePickerAdapter.java
@@ -52,6 +52,7 @@ public class FilePickerAdapter extends BaseBrowserAdapter {
         vh.binding.setHasContextMenu(false);
         vh.binding.setType(TYPE_MEDIA);
         vh.binding.setProtocole(null);
+        vh.binding.executePendingBindings();
 
         vh.binding.dviIcon.setBackgroundResource(getIconResId(media));
     }



More information about the Android mailing list