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

Able to drag (not drop) outside of Recyclerview or add DragShadow #60

Open
JKorsten opened this issue Oct 8, 2019 · 0 comments
Open

Comments

@JKorsten
Copy link

JKorsten commented Oct 8, 2019

Hey Paul,

Great demo (although it doesn't compile for me, I could use the classes and get it to work in my app). But I have a question. Is it possible to see the selected item (the one which you are dragging) also outside the RecyclerView.
I don't want to drop it there but it is possible that with dragging I will pass my recyclerview bounds and then the item will be cut off or even become invisible.

Is this possible using the ItemTouchHandler or should I do this in another way?

Another solution can be to use a DrawShadow which can be moved around the screen and use the ItemTouchHandler to do the reordering.

Kind regards,

JKorsten

@JKorsten JKorsten changed the title Able to drag (not drop) outside of Recyclerview Able to drag (not drop) outside of Recyclerview or add DragShadow Oct 8, 2019
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