getMenuElement

abstract suspend fun getMenuElement(index: Int): Menu.MenuElement

Retrieves the menu element at the given zero-based index.

Return

the MenuElement at the specified index

Parameters

index

index of the element to retrieve (0..9*newSize - 1)

Throws

if index is outside acceptable range