Swipe Callbacks
Functions
getMovementFlagsForModel
Link copied to clipboard
isSwipeEnabledForModel
Link copied to clipboard
onSwipeCompleted
Link copied to clipboard
abstract fun onSwipeCompleted(model: T, itemView: View, position: Int, direction: Int)
Content copied to clipboard
Called after onSwipeReleased if the swipe surpassed the threshold tobe considered a full swipe.
onSwipeProgressChanged
Link copied to clipboard
abstract fun onSwipeProgressChanged(model: T, itemView: View, swipeProgress: Float, canvas: Canvas)
Content copied to clipboard
Once a view has begun swiping with onSwipeStarted it willreceive this callback as the swipe distance changes.
open fun onSwipeProgressChanged(model: T, itemView: View, swipeProgress: Float, canvas: Canvas)
Content copied to clipboard
Once a view has begun swiping with onSwipeStarted it willreceive this callback as the swipe distance changes.
onSwipeReleased
Link copied to clipboard
onSwipeStarted
Link copied to clipboard