DocumentEditingToolbarGroupingRule

Default grouping rule of the com.pspdfkit.ui.toolbar.DocumentEditingToolbar.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)

Functions

Link copied to clipboard
open fun getGroupPreset(@IntRange(from = 4) 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.