setDragDismissDistance

open fun setDragDismissDistance(distance: Float)

Set the threshold for telling if a view has been dragged enough to be dismissed.

Parameters

distance

a ratio of a view's width, values are clamped to 0 >= x <= 1f;