PopupMenuItemResImpl

data class PopupMenuItemResImpl(val context: Context, @StringRes val textId: Int, val action: () -> Unit) : PopupMenuItem

Implementation of PopupMenuItem that uses a string resource for the text

Constructors

Link copied to clipboard
constructor(context: Context, @StringRes textId: Int, action: () -> Unit)

Properties

Link copied to clipboard
open override val action: () -> Unit

The action to perform when the menu item is clicked

Link copied to clipboard
Link copied to clipboard
open override val text: String

The text of the menu item

Link copied to clipboard
val textId: Int