-
Notifications
You must be signed in to change notification settings - Fork 501
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
disable dragging for some cells #4
Comments
In "SimpleItemTouchHelperCallback" you can return false in the "isLongPressDragEnabled" method |
Sorry @pixelbendr, I seem to have missed the notification for this issue. You'll notice that
|
Note: You'll also have to add a type check in
|
Hello Paul,
so in my app I want users to be able to delete cells that they created. so for example in a group chat you can only delete a message you create. so swipe to dismiss should be disabled for messages which the user didn't create.
Whats the best way to approach this?
The text was updated successfully, but these errors were encountered: