public class

ItemTouchHelperCallback

extends SimpleItemTouchHelperCallback
java.lang.Object
   ↳ SimpleItemTouchHelperCallback
     ↳ com.pdftron.pdf.widget.recyclerview.ItemTouchHelperCallback

Class Overview

An implementation of SimpleItemTouchHelperCallback that enables basic drag & drop and swipe-to-dismiss or grid layout manager only.

Summary

Public Constructors
ItemTouchHelperCallback(ItemTouchHelperAdapter adapter, int span, boolean enableLongPress, boolean enableSwipe)
Public Methods
int getMovementFlags(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder)
Overload implementation of SimpleItemTouchHelperCallback#getMovementFlags(RecyclerView, RecyclerView.ViewHolder)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ItemTouchHelperCallback (ItemTouchHelperAdapter adapter, int span, boolean enableLongPress, boolean enableSwipe)

Public Methods

public int getMovementFlags (RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder)

Overload implementation of SimpleItemTouchHelperCallback#getMovementFlags(RecyclerView, RecyclerView.ViewHolder)