[Android] Remove redundant call to notifyDataSetChanged()

Geoffrey Métais git at videolan.org
Fri Mar 27 16:43:47 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Mar 27 13:18:47 2015 +0100| [9bc1e25994b665091062b62dd89caca663ab6e40] | committer: Geoffrey Métais

Remove redundant call to notifyDataSetChanged()

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=9bc1e25994b665091062b62dd89caca663ab6e40
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java |    1 -
 1 file changed, 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 6e9e407..d583ddc 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
@@ -561,7 +561,6 @@ public class VideoGridFragment extends BrowserFragment implements ISortable, IVi
                     mViewNomedia.setVisibility(mVideoAdapter.getCount()>0 ? View.GONE : View.VISIBLE);
                     mReady = true;
                     mVideoAdapter.sort();
-                    mVideoAdapter.notifyDataSetChanged();
                     mGVFirstVisiblePos = mGridView.getFirstVisiblePosition();
                     mGridView.setSelection(mGVFirstVisiblePos);
                     mGridView.requestFocus();



More information about the Android mailing list