on Menu Items Grouped
open fun onMenuItemsGrouped(@NonNull menuItems: List<ContextualToolbarMenuItem>): List<ContextualToolbarMenuItem>
Called when the menu items are being grouped. This allows us to set default selected tool and initialize style indicator icons.
Return
List of grouped items to be showed at the end.
Parameters
menu Items
Grouped menu items.