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

Check motion position before passing into adapter #19

Merged
merged 1 commit into from
Jan 5, 2014

Conversation

slapsys
Copy link
Contributor

@slapsys slapsys commented Jan 3, 2014

I saw it crashes the app if Staggered List has footer or header and the user hits the space between the list items.
This is because -1 is passed to HeaderViewListAdapter.isEnabled(int position)
Checking motion position before sending it to adapter fixes that.

@denizmveli
Copy link
Contributor

Excellent. Thanks @vubinaz.

denizmveli added a commit that referenced this pull request Jan 5, 2014
Merged pull request #19 - Check motion position before passing into adapter
@denizmveli denizmveli merged commit 9acae2c into etsy:master Jan 5, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants