I use ItemTouchHelper. Callback() to manage Swipe. I have 2 actions: Send an error about the order and delete the order.
Swipe to send an order error swipe does not o