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

DragInteraction.Cancel

public final class DragInteraction.Cancel implements DragInteraction


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

See also
draggable
DragInteraction.Start

Summary

Public constructors

Public methods

final @NonNull DragInteraction.Start

the source Start interaction that is being cancelled

Public constructors

Cancel

public Cancel(@NonNull DragInteraction.Start start)

Public methods

getStart

public final @NonNull DragInteraction.Start getStart()

the source Start interaction that is being cancelled