java.lang.Object | ||
↳ | SimpleItemTouchHelperCallback | |
↳ | com.pdftron.pdf.widget.recyclerview.ItemTouchHelperCallback |
An implementation of SimpleItemTouchHelperCallback that enables basic drag & drop and swipe-to-dismiss or grid layout manager only.
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
|
Overload implementation of SimpleItemTouchHelperCallback#getMovementFlags(RecyclerView, RecyclerView.ViewHolder)