You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To decide if a viewHolder should be drag-able and/or swipe-able, I think you need to do it in the getMovementFlags function. There you have a change to decide if you want to allow drag and/or swipe for the given ViewHolder.
I need to implement the drag and drop for items with different view types. I tried with following code
without
but it doesn't work as I expected. I'm using a grid layout by the way.
The text was updated successfully, but these errors were encountered: