addItems

inline fun Menu.addItems(menu: Menu, group: Int = Menu.NONE, flagFor: (MenuItem) -> Int = { MenuItem.SHOW_AS_ACTION_IF_ROOM })

Add menu items to this menu

Parameters

menu

Menu containing items to add

group

Group that menu belongs to

flagFor

Delegate to dictate which action flags are applied