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

Usage in a RecyclerView #180

Open
okacat opened this issue Nov 24, 2016 · 0 comments
Open

Usage in a RecyclerView #180

okacat opened this issue Nov 24, 2016 · 0 comments

Comments

@okacat
Copy link

okacat commented Nov 24, 2016

Hi, thank you for the great library.

I'm using a SwipeFlingAdapterView inside of a RecyclerView and it's working great, except for one issue. Whenever the view gets recycled and rebound, I do a SwipeFlingAdapterView.setAdapter() which usually has a different data set than the previous adapter, but the SwipeFlingAdapterView still shows the same card items as before it got recycled. That's until I swipe one card away, then the card views refresh which looks as a sudden change of the second card in the stack.

I managed to get around this by setting the view holder as non-recyclable, which is not an issue, since I only have one card stack in the list. I haven't tested if the same thing occurs outside of a RecyclerView.

I'm using the library as of commit a6fdfaa60fadd56fd5eb8acb2ff8922d2dd4d257.

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