[Android] Post refresh in handler

Geoffrey Métais git at videolan.org
Fri Jun 10 14:51:40 CEST 2016


vlc-android | branch: 2.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jun 10 14:50:46 2016 +0200| [ccce6131606b0928d59707f9491555da957865b7] | committer: Geoffrey Métais

Post refresh in handler

(cherry picked from commit 992a700ba0aee6e19d7b1964b5ae17f4229154b8)

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
index 0c7265d..22c5105 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
@@ -420,7 +420,7 @@ public class VideoGridFragment extends MediaBrowserFragment implements ISortable
                         }
                     }
 
-                    mGridView.post(new Runnable() {
+                    mHandler.post(new Runnable() {
                         @Override
                         public void run() {
                             mVideoAdapter.clear();



More information about the Android mailing list