Swipe Controller
class SwipeController(context: Context, swipeController: SwipeController.Actions) : ItemTouchHelper.Callback
Content copied to clipboard
Created by Mehrosh.Mehboob on 19-Feb-18.
Constructors
Link copied to clipboard
fun SwipeController(context: Context, swipeController: SwipeController.Actions)
Content copied to clipboard
Types
Functions
Link copied to clipboard
open fun canDropOver( @NonNull p0: RecyclerView, @NonNull p1: RecyclerView.ViewHolder, @NonNull p2: RecyclerView.ViewHolder): Boolean
Content copied to clipboard
Link copied to clipboard
open fun chooseDropTarget( @NonNull p0: RecyclerView.ViewHolder, @NonNull p1: MutableList<RecyclerView.ViewHolder>, p2: Int, p3: Int): RecyclerView.ViewHolder
Content copied to clipboard
Link copied to clipboard
open fun clearView(@NonNull p0: RecyclerView, @NonNull p1: RecyclerView.ViewHolder)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getAnimationDuration( @NonNull p0: RecyclerView, p1: Int, p2: Float, p3: Float): Long
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getMovementFlags(recyclerView: RecyclerView, viewHolder: RecyclerView.ViewHolder): Int
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getSwipeThreshold(viewHolder: RecyclerView.ViewHolder): Float
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun interpolateOutOfBoundsScroll( @NonNull p0: RecyclerView, p1: Int, p2: Int, p3: Int, p4: Long): Int
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onChildDraw( canvas: Canvas, recyclerView: RecyclerView, viewHolder: RecyclerView.ViewHolder, dX: Float, dY: Float, actionState: Int, isCurrentlyActive: Boolean)
Content copied to clipboard
Link copied to clipboard
open fun onChildDrawOver( @NonNull p0: Canvas, @NonNull p1: RecyclerView, p2: RecyclerView.ViewHolder, p3: Float, p4: Float, p5: Int, p6: Boolean)
Content copied to clipboard
Link copied to clipboard
open override fun onMove( recyclerView: RecyclerView, viewHolder: RecyclerView.ViewHolder, viewHolder1: RecyclerView.ViewHolder): Boolean
Content copied to clipboard
Link copied to clipboard
open fun onMoved( @NonNull p0: RecyclerView, @NonNull p1: RecyclerView.ViewHolder, p2: Int, @NonNull p3: RecyclerView.ViewHolder, p4: Int, p5: Int, p6: Int)
Content copied to clipboard
Link copied to clipboard
open fun onSelectedChanged(@Nullable p0: RecyclerView.ViewHolder?, p1: Int)
Content copied to clipboard
Link copied to clipboard
open override fun onSwiped(viewHolder: RecyclerView.ViewHolder, direction: Int)
Content copied to clipboard