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

detectReorder by random int position #220

Open
out276 opened this issue Feb 5, 2023 · 0 comments
Open

detectReorder by random int position #220

out276 opened this issue Feb 5, 2023 · 0 comments

Comments

@out276
Copy link

out276 commented Feb 5, 2023

How to change .detectReorderAfterLongPress(stateX) by change 'stateX'?

val positionX = (0...items.itemcount-1).random() (all items show in screen)
Long click on phone screen,
How to change stateX to detectReorderAfterLongPress with positionX
and get dragging item at positionX?

Thank you so much!

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