CardTapAction

sealed interface CardTapAction

Result of handling a tap on a card item.

Inheritors

Types

Link copied to clipboard
data class Focus(val cardIdentifier: String) : CardTapAction

A card in standard list mode was tapped to focus it.

Link copied to clipboard
data class FocusedCardTapped(val cardIdentifier: String) : CardTapAction

The currently focused card was tapped.

Link copied to clipboard
data class FocusedStackTapped(val cardIdentifier: String) : CardTapAction

A card in the unfocused background stack was tapped while another card is focused.

Link copied to clipboard
data object Ignore : CardTapAction

Tap should be ignored (e.g. during an active drag or within the drag cooldown window).