Annotation Editing Toolbar Grouping Rule
Default grouping rule of the AnnotationEditingToolbar.
Functions
Link copied to clipboard
open fun getGroupPreset(@IntRange(from = ContextualToolbar.MIN_TOOLBAR_CAPACITY ) capacity: Int, itemsCount: Int): List<MenuItem>
Implementation of this method should return desired preset (structured list of menu items) based on the provided capacity (space left on the toolbar) and the amount of items that needs to be fitted.