gsdsdk / com.gsd.software.sdk.list / ItemTouchHelperCallback

ItemTouchHelperCallback

class ItemTouchHelperCallback : Callback

Created by jmielczarek on 25.10.2018.

Constructors

Name Summary
<init> ItemTouchHelperCallback(adapter:GsdAdapter, swipeDirection:GsdSwipeDirection)
Created by jmielczarek on 25.10.2018.

Functions

Name Summary
getMovementFlags fun getMovementFlags(recyclerView: RecyclerView, viewHolder: ViewHolder):Int
onMove fun onMove(recyclerView: RecyclerView, viewHolder: ViewHolder, target: ViewHolder):Boolean
onSwiped fun onSwiped(viewHolder: ViewHolder, direction:Int):Unit