get

inline operator fun Menu.get(index: Int): MenuItem(source)

Returns the menu at index.

Throws

if index is less than 0 or greater than or equal to the count.


operator fun ViewGroup.get(index: Int): View(source)

Returns the view at index.

Throws

if index is less than 0 or greater than or equal to the count.