Search code examples
androiddrag-and-dropandroid-recyclerviewitemtouchhelper

How to drag and drop items over bounds of the horizontal recyclerview with ItemTouchHelper.Callback?


I want to drag items over my horizontal recyclerview(not only within bounds of the recyclerview) and when drop an item it goes to new position with animation. How to achieve this using ItemTouchHelper.Callback?


Solution

  • I think you might avoid using ItemTouchHelper to achieve your goal. See my code on GitHub for more information.