AndroidGesturesManager

open fun AndroidGesturesManager(context: Context)

Creates a new instance of the AndroidGesturesManager.

Parameters

context

activity's context


open fun AndroidGesturesManager(context: Context, applyDefaultThresholds: Boolean)

Creates a new instance of the AndroidGesturesManager.

Parameters

context

activity's context

applyDefaultThresholds

if true, default gestures thresholds and adjustments will be applied


open fun AndroidGesturesManager(context: Context, exclusiveGestures: Array<Set<Integer>>)

Creates a new instance of the AndroidGesturesManager.

Parameters

context

Activity's context

exclusiveGestures

a number of sets of GestureTypes that should not be invoked at the same. This means that when a set contains a ProgressiveGesture and this gestures is in progress no other gestures from the set will be invoked.

At the moment GESTURE_TYPE_SCROLL is not interpreted as a progressive gesture because it is not implemented this way by the androidx.core.view.GestureDetectorCompat.


open fun AndroidGesturesManager(context: Context, exclusiveGestures: List<Set<Integer>>, applyDefaultThresholds: Boolean)

Creates a new instance of the AndroidGesturesManager.

Parameters

context

Activity's context

exclusiveGestures

a list of sets of GestureTypes that should not be invoked at the same. This means that when a set contains a ProgressiveGesture and this gestures is in progress no other gestures from the set will be invoked.

At the moment GESTURE_TYPE_SCROLL is not interpreted as a progressive gesture because it is not implemented this way by the androidx.core.view.GestureDetectorCompat.

applyDefaultThresholds

if true, default gestures thresholds and adjustments will be applied