CSMenuItem

open class CSMenuItem

Created by Rene Dohan on 18/1/17.

Constructors

Link copied to clipboard
fun CSMenuItem(controller: CSActivityView<*>, id: Int)
Link copied to clipboard
fun CSMenuItem(controller: CSActivityView<*>, title: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun alwaysAsAction(): CSMenuItem
Link copied to clipboard
fun hide(): CSMenuItem
Link copied to clipboard
fun neverAsAction(): CSMenuItem
Link copied to clipboard
fun onChecked(onItem: CSOnMenuItem)
Link copied to clipboard
fun onClick(run: (CSMenuItem) -> Unit): CSMenuItem
Link copied to clipboard
fun run(): Unit?
Link copied to clipboard
fun setIconResourceId(iconResourceId: Int): CSMenuItem
Link copied to clipboard
fun show(): CSMenuItem
Link copied to clipboard
fun visible(visible: Boolean): CSMenuItem
Link copied to clipboard
fun withText(): CSMenuItem

Properties

Link copied to clipboard
var actionView: View? = null
Link copied to clipboard
var iconResource: Int = 0
Link copied to clipboard
val id: Int
Link copied to clipboard
var isChecked: Boolean? = null
Link copied to clipboard
val isGenerated: Boolean
Link copied to clipboard
val isNeverAsAction: Boolean
Link copied to clipboard
var isVisible: Boolean = true
Link copied to clipboard
var showAsAction: Int
Link copied to clipboard
var title: String? = null