MotionEventHandler

open class MotionEventHandler(scroller: OverScroller, scrollHandler: ScrollHandler, density: Float, var isHorizontalScrollEnabled: Boolean = false, onTouchPoint: (Point?) -> Unit, requestInvalidate: () -> Unit)

Handles MotionEvents.

Parameters

density

the pixel density.

isHorizontalScrollEnabled

whether horizontal scrolling is enabled.

Constructors

Link copied to clipboard
constructor(scroller: OverScroller, scrollHandler: ScrollHandler, density: Float, isHorizontalScrollEnabled: Boolean = false, onTouchPoint: (Point?) -> Unit, requestInvalidate: () -> Unit)

Properties

Functions

Link copied to clipboard

Called to handle a MotionEvent, which may result in scroll, zoom, or the appearance of a Marker.