Android-ItemTouchHelper-Demo
Android-ItemTouchHelper-Demo copied to clipboard
Basic example of using ItemTouchHelper to add drag & drop and swipe-to-dismiss to RecyclerView.
I've noticed that you have to drag an item almost exactly on top of a neighboring item before it will start the swap animation. There is a method called getMoveThreshold()...
Hi, I've implemented this in one of my projects and it is working perfectly. But the problem is, drag & drop is working very slowly.
Hey Paul, Great demo (although it doesn't compile for me, I could use the classes and get it to work in my app). But I have a question. Is it...
Upgraded to androidx for future use
I need to implement the drag and drop for items with different view types. I tried with following code ``` override fun onMove(recyclerView: RecyclerView, source: RecyclerView.ViewHolder, target: RecyclerView.ViewHolder): Boolean {...
I want to detect it is click or drag image. if I click then my camera open and if I drag the image then image will drag but in my...
Since my drag and drop is working fine but still the item which has been moved is not updating its position. The code is like this : `public class EditVideoActivity...
This isn't a bug with this code, but I'm throwing it out there as a potential gotcha that I only ran into after implementing the dismiss/swap functionality from this demo....
I want to store item into folder on dropping that item onto folder . so Is there any way around to get my background view at the time of dragging...