public final void setDragSensitivity ( final float dragSensitivity ) { Condition . INSTANCE . ensureAtLeast ( dragSensitivity , 0 , "The drag sensitivity must be at least 0" ) ; Condition . INSTANCE . ensureAtMaximum ( dragSensitivity , 1 , "The drag sensitivity must be at maximum 1" ) ; this . dragSensitivity = dragSensitivity ; adaptDragSensitivity ( ) ; }
Sets the sensitivity which specifies the distance after which dragging has an effect on the bottom sheet in relation to an internal value range .