Open softgears opened 9 years ago
I'm facing the same issue. If there is empty element on the GridView it's possible to scroll gridview till all elements dissapear (GridView height seems to be unlimited)
I fixed this by creating dummy views, that fills bottom line. But this is dirty hack.
I found different workaround. You have to use your own ObservableGridView. I copied ObservableGridView to my project and point into this view in XML. and changed: private int mRowHeight = -1 to private int mRowHeight = 0;
and below convertView.setMinimumHeight(headerViewContainer.getHeight()); add if (mRowHeight != headerViewContainer.getHeight()) { mRowHeight = headerViewContainer.getHeight(); }
I'm looking for a final solution. It's reproducible in sample project - just change number of items to 99 instead of 100.
regards
When flexible space image with viewpager with observable grid view which has incomplete number of items (when last row is not completed) see screen.![screenshot_2015-08-21-13-53-11](https://cloud.githubusercontent.com/assets/3906671/9401036/e1cba5f0-4814-11e5-97ac-2a77f4a58d58.jpg)