SwipeDetector

class SwipeDetector(view: View, swipeEventListener: SwipeDetector.OnSwipeEventListener?) : View.OnTouchListener

Constructors

Link copied to clipboard
fun SwipeDetector(view: View, swipeEventListener: SwipeDetector.OnSwipeEventListener?)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
interface OnSwipeEventListener
Link copied to clipboard
enum SwipeTypeEnum : Enum<SwipeDetector.SwipeTypeEnum>

Functions

Link copied to clipboard
open override fun onTouch(v: View, event: MotionEvent): Boolean
Link copied to clipboard
fun setMinDistanceInPixels(minDistance: Int): SwipeDetector