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

DragInteraction

public interface DragInteraction extends Interaction

Known direct subclasses
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.


An interaction related to drag events.

See also
draggable
DragInteraction.Start
DragInteraction.Stop
DragInteraction.Cancel

Summary

Nested types

public final class DragInteraction.Cancel implements DragInteraction

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

public final class DragInteraction.Start implements DragInteraction

An interaction representing a drag event on a component.

public final class DragInteraction.Stop implements DragInteraction

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