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

PressInteraction.Release

public final class PressInteraction.Release implements PressInteraction


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

See also
clickable
PressInteraction.Press

Summary

Public constructors

Public methods

final @NonNull PressInteraction.Press

the source Press interaction that is being released

Public constructors

Release

public Release(@NonNull PressInteraction.Press press)

Public methods

getPress

public final @NonNull PressInteraction.Press getPress()

the source Press interaction that is being released