AndroidViewConfiguration
class AndroidViewConfiguration : ViewConfiguration
kotlin.Any | |
↳ | androidx.compose.ui.platform.AndroidViewConfiguration |
Summary
Public constructors | |
---|---|
<init>(viewConfiguration: ViewConfiguration) |
Properties | |
---|---|
Duration |
The minimum duration between the first tap's up event and the second tap's down event for an interaction to be considered a double-tap. |
Duration |
The duration between the first tap's up event and the second tap's down event for an interaction to be considered a double-tap. |
Duration |
The duration before a press turns into a long press. |
Float |
Distance in pixels a touch can wander before we think the user is scrolling. |
Public constructors
<init>
AndroidViewConfiguration(viewConfiguration: ViewConfiguration)
Properties
doubleTapMinTime
val doubleTapMinTime: Duration
The minimum duration between the first tap's up event and the second tap's down event for an interaction to be considered a double-tap.
doubleTapTimeout
val doubleTapTimeout: Duration
The duration between the first tap's up event and the second tap's down event for an interaction to be considered a double-tap.
longPressTimeout
val longPressTimeout: Duration
The duration before a press turns into a long press.
touchSlop
val touchSlop: Float
Distance in pixels a touch can wander before we think the user is scrolling.