[Android] Post refresh in handler

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


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

Post refresh in handler

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

 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