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

onClick being dispatched after swipe #3

Open
andreimarinescu opened this issue Oct 27, 2014 · 0 comments
Open

onClick being dispatched after swipe #3

andreimarinescu opened this issue Oct 27, 2014 · 0 comments

Comments

@andreimarinescu
Copy link

Hi Jake,

First of all thanks for providing this adapter, it works quite well with our current setup that requires view recycling in a PagerView.

I've got one question though regarding an issue we're having trouble tracking down. We've got an adapter with multiple view types. The issue is that the onClickListener set on one of the children of the views only fires after tapping and swiping to the next element.

This happens for the 3rd and 4th recycled view of the same view type and the problem disappears once we've swiped through the whole dataset.

I've tried switching the RecyclingPagerAdapter with another, basic subclass of PagerAdapter and the issue disappears.

Any pointers on debugging this?

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

1 participant