onMenuModeChange

abstract fun onMenuModeChange(@NonNull menu: @NonNull MenuBuilder)

Called when the mode of the menu changes (for example, from icon to expanded).

Parameters

menu

the menu that has changed modes