public class

ItemMoveCallback

extends SimpleCallback
java.lang.Object
   ↳ ItemTouchHelper.SimpleCallback
     ↳ com.pdftron.recyclertreeview.ItemMoveCallback

Summary

Public Constructors
ItemMoveCallback(TreeViewAdapter adapter)
Public Methods
void clearView(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder)
int getMovementFlags(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder)
boolean isItemViewSwipeEnabled()
boolean isLongPressDragEnabled()
boolean onMove(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, RecyclerView.ViewHolder target)
void onMoved(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, int fromPos, RecyclerView.ViewHolder target, int toPos, int x, int y)
void onSelectedChanged(RecyclerView.ViewHolder viewHolder, int actionState)
void onSwiped(RecyclerView.ViewHolder viewHolder, int direction)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ItemMoveCallback (TreeViewAdapter adapter)

Public Methods

public void clearView (RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder)

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

public boolean isItemViewSwipeEnabled ()

public boolean isLongPressDragEnabled ()

public boolean onMove (RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, RecyclerView.ViewHolder target)

public void onMoved (RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, int fromPos, RecyclerView.ViewHolder target, int toPos, int x, int y)

public void onSelectedChanged (RecyclerView.ViewHolder viewHolder, int actionState)

public void onSwiped (RecyclerView.ViewHolder viewHolder, int direction)