replaceMenu

open fun replaceMenu(@MenuRes newMenu: Int)

A convenience method to replace the contents of the BottomAppBar's menu.

Parameters

newMenu

the desired new menu.