Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 601 Bytes

File metadata and controls

15 lines (9 loc) · 601 Bytes

ListAdapterDragAndDropApplication

Project that shows how ListAdapter (androidx.recyclerview:recyclerview:1.0.0) does not work properly with drag and drop

This project uses 2 versions of ListAdapter:

  1. Default threading is used. Threading can't cope with animations and drag event ends abruptly. Item being dragged disappears from the screen.

  1. Synchronous executor is used: because there's no background thread or even posting to UI thread the animations happens instantly. Drag event remains as it should be and it doesn't abruptly end.