onDragStateChanged

abstract fun onDragStateChanged(state: Int)

Called when the drag state has changed.

Parameters

state

the new state. One of STATE_IDLE, STATE_DRAGGING or STATE_SETTLING.