Open YellowEyed opened 9 years ago
Try to change your code:
@Override
public void onItemClick( AdapterView<?> parent, View view, int position, long id ) {
int realPos = position - gridView.getHeaderViewsCount();
Thanks for the help, I've already solved the problem. It's an AndroidStaggeredGrid bug. Please see this: https://github.com/etsy/AndroidStaggeredGrid/pull/164 the second comment.
When I use this StaggeredGridView, I found several problems. And one of them is pretty serious, please check it. https://github.com/etsy/AndroidStaggeredGrid/pull/164