You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to remove the onItemDismiss feature completely, while keeping the others. That means, I don't want the views to be swipe-able at all. How do I achieve that?
The text was updated successfully, but these errors were encountered:
Following the docs just set the two last booleans to false .
// Setup onItemTouchHandler to enable drag and drop , swipe left or right
ItemTouchHelper.Callback callback = new RVHItemTouchHelperCallback(adapter, true, true,true);
/**
* Instantiates a new Rvh item touch helper callback.
*
* @param adapter the adapter
* @param isLongPressDragEnabled the is long press drag enabled
* @param isItemViewSwipeEnabledLeft the is item view swipe enabled left
* @param isItemViewSwipeEnabledRight the is item view swipe enabled right
*/
I want to remove the onItemDismiss feature completely, while keeping the others. That means, I don't want the views to be swipe-able at all. How do I achieve that?
The text was updated successfully, but these errors were encountered: