Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
YellowEyed opened this issue Dec 30, 2014 · 2 comments

Comments

@YellowEyed
Copy link

When I use this StaggeredGridView, I found several problems. And one of them is pretty serious, please check it. #164

@Bapho
Copy link

Bapho commented Jan 20, 2015

Try to change your code:

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

@YellowEyed
Copy link
Author

Thanks for the help, I've already solved the problem. It's an AndroidStaggeredGrid bug. Please see this: #164 the second comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants