See Also: ActionMode+ICallback
public interface ActionMode.ICallback : IJavaObject, IDisposable
Callback interface for action modes. Supplied to View.StartActionMode(ActionMode+ICallback), a Callback configures and handles events raised by a user's interaction with an action mode.
An action mode's lifecycle is as follows:
- ActionMode+ICallback.OnCreateActionMode(ActionMode,IMenu) once on initial creation
- ActionMode+ICallback.OnPrepareActionMode(ActionMode,IMenu) after creation and any time the ActionMode is invalidated
- ActionMode+ICallback.OnActionItemClicked(ActionMode,IMenuItem) any time a contextual action button is clicked
- ActionMode+ICallback.OnDestroyActionMode(ActionMode) when the action mode is closed
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11
The members of Android.Views.ActionMode.ICallback are listed below.
Called to report a user click on an action button.
Called when action mode is first created.
Called when an action mode is about to be exited and destroyed.
Called to refresh an action mode's action menu whenever it is invalidated.