{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

PressInteraction.Cancel


An interaction representing the cancellation of a Press event on a component.

See also
clickable
PressInteraction.Press

Summary

Public constructors

Cmn

Public properties

PressInteraction.Press

the source Press interaction that is being cancelled

Cmn

Public constructors

Cancel

Cancel(press: PressInteraction.Press)

Public properties

press

val pressPressInteraction.Press

the source Press interaction that is being cancelled