AnnotationCreationToolbarGroupingRule

Constructors

Link copied to clipboard
constructor(context: Context)
constructor(context: Context, adaptiveFeatures: EnumSet<AdaptiveGroupingRule>)

Functions

Link copied to clipboard

Indicates whether the group items (that are generated to fit items when not enough space) are selectable or not.

Link copied to clipboard
open override fun getGroupPreset(@IntRange(from = 4) capacity: Int, itemsCount: Int): MutableList<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.