PdfView.OnGestureStateChangedListener


interface PdfView.OnGestureStateChangedListener


Listener interface to receive callbacks when the PdfView starts and stops being affected by an external input like user touch.

Summary

Public functions

Unit

Callback when the PdfView starts and stops being affected by an external input like user touch.

Public functions

onGestureStateChanged

Added in 1.0.0-alpha10
fun onGestureStateChanged(newState: Int): Unit

Callback when the PdfView starts and stops being affected by an external input like user touch. newState will be one of GESTURE_STATE_IDLE, GESTURE_STATE_INTERACTING, or GESTURE_STATE_SETTLING