Callback
Callback interface for action modes. Supplied to startSupportActionMode (Callback)}, a Callback configures and handles events raised by a user's interaction with an action mode.
An action mode's lifecycle is as follows:
- onCreateActionMode once on initial creation
- onPrepareActionMode after creation and any time the ActionMode is invalidated
- onActionItemClicked any time a contextual action button is clicked
- onDestroyActionMode when the action mode is closed
Inheritors
Functions
Link copied to clipboard
Called to report a user click on an action button.
Link copied to clipboard
Called when action mode is first created.
Link copied to clipboard
Called when an action mode is about to be exited and destroyed.
Link copied to clipboard
Called to refresh an action mode's action menu whenever it is invalidated.