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

Strange behaviour when i start dragging fast #34

Open
milos1991 opened this issue Feb 6, 2016 · 0 comments
Open

Strange behaviour when i start dragging fast #34

milos1991 opened this issue Feb 6, 2016 · 0 comments

Comments

@milos1991
Copy link

I've implemented your method into my project, and i have a few problems, hopefully i will explain it properly:

  1. When dragging items really fast up and down, sometimes it happens that a copy of an item appears in the "background" of a recyclerview, and stays there, you can select it and drag it but it wont move when released. It can be seen when items inside RV are not fixed size.
  2. This is not what you have put but, i've added a textview that represents getAdapterPosition() of adapter in each item, it is working nice until i start "sling shoting" items via drag and sometimes there is a duplicate of a position ( 1 , 2 , 3 , 5 ,5 ,6 ,7) i fixed that issue with notifyDataSetChanged in onItemClear() but that wasn't very fortunate since i get IllegalStateException if i do the same thing.

I know this may be a bit difficult to resolve (cant use debugger since i have some huge recursion before that code which takes forever) and those lists can be really tricky to debug, so any tip or hint would be awesome. Thank you in advance.

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