[Android] Reset notifyOnChange for display
Geoffrey Métais
git at videolan.org
Fri Mar 27 17:37:14 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Mar 27 17:23:49 2015 +0100| [b8e1bf741a63c196265c8032381093e6ad977ff1] | committer: Geoffrey Métais
Reset notifyOnChange for display
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=b8e1bf741a63c196265c8032381093e6ad977ff1
---
vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java | 1 +
1 file changed, 1 insertion(+)
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 d583ddc..28ca545 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
@@ -560,6 +560,7 @@ public class VideoGridFragment extends BrowserFragment implements ISortable, IVi
public void run() {
mViewNomedia.setVisibility(mVideoAdapter.getCount()>0 ? View.GONE : View.VISIBLE);
mReady = true;
+ mVideoAdapter.setNotifyOnChange(true);
mVideoAdapter.sort();
mGVFirstVisiblePos = mGridView.getFirstVisiblePosition();
mGridView.setSelection(mGVFirstVisiblePos);
More information about the Android
mailing list