initialize

abstract fun initialize(itemData: MenuItemImpl, menuType: Int)(source)

Initializes with the provided MenuItemData. This should be called after the view is inflated.

Parameters

itemData

The item that this ItemView should display.

menuType

The type of this menu, one of TYPE_ICON, TYPE_EXPANDED, TYPE_DIALOG).