Interface

PressInteraction

An interaction related to press events.

Source set: Common
public interface PressInteraction : Interaction

An interaction related to press events.

Members

Press

Source set: Common
public class Press(public val pressPosition: Offset) : PressInteraction

An interaction representing a press event on a component.

Release

Source set: Common
public class Release(public val press: Press) : PressInteraction

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

Cancel

Source set: Common
public class Cancel(public val press: Press) : PressInteraction

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

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: