onMoved

fun onMoved(horizontalPositionPx: Float)

Moves the view.

Parameters

horizontalPositionPx

Horizontal position from touch event.