ScrollListener

open class ScrollListener(val width: () -> Int, val height: () -> Int) : GestureDetector.SimpleOnGestureListener

Constructors

Link copied to clipboard
constructor(width: () -> Int, height: () -> Int)

Properties

Link copied to clipboard
val height: () -> Int
Link copied to clipboard
var onScroll: (percentX: Float, percentY: Float) -> Unit?
Link copied to clipboard

Min Swipe X-Distance

Link copied to clipboard

Min Swipe Y-Distance

Link copied to clipboard
val width: () -> Int

Functions

Link copied to clipboard
open override fun onContextClick(p0: MotionEvent): Boolean
Link copied to clipboard
open override fun onDoubleTap(p0: MotionEvent): Boolean
Link copied to clipboard
open override fun onDoubleTapEvent(p0: MotionEvent): Boolean
Link copied to clipboard
open override fun onDown(e: MotionEvent): Boolean
Link copied to clipboard
open override fun onFling(p0: MotionEvent?, p1: MotionEvent, p2: Float, p3: Float): Boolean
Link copied to clipboard
open override fun onLongPress(p0: MotionEvent)
Link copied to clipboard
open override fun onScroll(e1: MotionEvent?, e2: MotionEvent, distanceX: Float, distanceY: Float): Boolean
Link copied to clipboard
open override fun onShowPress(p0: MotionEvent)
Link copied to clipboard
open override fun onSingleTapConfirmed(p0: MotionEvent): Boolean
Link copied to clipboard
open override fun onSingleTapUp(p0: MotionEvent): Boolean