bindController

open fun bindController(@NonNull textSelectionController: TextSelectionController)

Bind text selection controller to the toolbar. Text selection controller can be obtained via . When bound to the toolbar, the toolbar will automatically show items that are enabled or disabled, and introduce the business logic for handling each of the clicked menu item actions.

Parameters

textSelectionController

Controller to be bound to the toolbar.