MenuItem

data class MenuItem<T>(title: String?, iconRes: Int, onClick: Consumer<T>?)

菜单列表

Parameters

title

标题

iconRes

图标

onClick

点击列表监听者

Constructors

MenuItem
Link copied to clipboard
fun <T> MenuItem(title: String? = null, iconRes: Int = View.NO_ID, onClick: Consumer<T>? = null)
标题

Properties

iconRes
Link copied to clipboard
var iconRes: Int
图标
onClick
Link copied to clipboard
var onClick: Consumer<T>? = null
点击列表监听者
title
Link copied to clipboard
var title: String? = null
标题