AndroidStaggeredGrid icon indicating copy to clipboard operation
AndroidStaggeredGrid copied to clipboard

When add a header view that can't be selected, the first item view attached with the parent view can't be clicked.

Open YellowEyed opened this issue 11 years ago • 2 comments

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

YellowEyed avatar Dec 30 '14 07:12 YellowEyed

Try to change your code:

@Override
public void onItemClick( AdapterView<?> parent, View view, int position, long id ) {
    int realPos = position - gridView.getHeaderViewsCount();

Bapho avatar Jan 20 '15 17:01 Bapho

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.

YellowEyed avatar Jan 26 '15 02:01 YellowEyed