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

androidx.compose.foundation.interaction

Interfaces

DragInteraction

An interaction related to drag events.

FocusInteraction

An interaction related to focus events.

HoverInteraction

An interaction related to hover events.

Interaction

An Interaction represents transient UI state for a component, typically separate from the actual 'business' state that a component may control.

InteractionSource

InteractionSource represents a stream of Interactions corresponding to events emitted by a component.

MutableInteractionSource

MutableInteractionSource represents a stream of Interactions corresponding to events emitted by a component.

PressInteraction

An interaction related to press events.

Classes

DragInteraction.Cancel

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

DragInteraction.Start

An interaction representing a drag event on a component.

DragInteraction.Stop

An interaction representing the stopping of a Start event on a component.

DragInteractionKt
FocusInteraction.Focus

An interaction representing a focus event on a component.

FocusInteraction.Unfocus

An interaction representing a Focus event being released on a component.

FocusInteractionKt
HoverInteraction.Enter

An interaction representing a hover event on a component.

HoverInteraction.Exit

An interaction representing a Enter event being released on a component.

HoverInteractionKt
InteractionSourceKt
PressInteraction.Cancel

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

PressInteraction.Press

An interaction representing a press event on a component.

PressInteraction.Release

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

PressInteractionKt