Android-ItemTouchHelper-Demo
Android-ItemTouchHelper-Demo copied to clipboard
Dragging with different viewtypes
Lets say I have 10 items in my recyclerview and item 4 is a different viewtype then the rest of the items. When dragging say item 0 across the recyclerview, there is a fade in and out effect on item 4 and that's because we don't swap elements with different viewtypes. Is there a way to avoid "refreshing" the adapter when we drag across different viewtypes?