ItemLongClicked

data class ItemLongClicked @JvmOverloads constructor(@IdRes val id: Int, val kind: ContextualToolbarKind? = null) : ToolbarAction

A toolbar item was long-pressed.

Constructors

Link copied to clipboard
constructor(@IdRes id: Int, kind: ContextualToolbarKind? = null)

Properties

Link copied to clipboard
val id: Int

Resource id of the long-pressed item.

Link copied to clipboard

The contextual toolbar the long-press originated from, or null for the main toolbar.