Browse Source

after pinching grid is updated correctly

tobiasKaminsky 9 years ago
parent
commit
18f267ec29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/com/owncloud/android/ui/fragment/ExtendedListFragment.java

+ 1 - 1
src/com/owncloud/android/ui/fragment/ExtendedListFragment.java

@@ -105,7 +105,6 @@ public class ExtendedListFragment extends Fragment
     private FilterableListAdapter mAdapter;
 
 p   private float scale = -1f;
-    private GestureDetector gestureDetector;
 
     protected void setListAdapter(FilterableListAdapter listAdapter) {
         mAdapter = listAdapter;
@@ -273,6 +272,7 @@ p   private float scale = -1f;
             scale = Math.max(2.0f, Math.min(scale, 10.0f));
             Integer scaleInt = Math.round(scale);
             mGridView.setNumColumns(scaleInt);
+            mGridView.invalidateViews();
 
             return true;
         }