Android Guides | Samples


Callback interface for action modes.

See Also: ActionMode+ICallback


[Android.Runtime.Register("android/view/ActionMode$Callback", "", "Android.Views.ActionMode/ICallbackInvoker")]
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:

[Android Documentation]


Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions:
Since: Added in API level 11

The members of Android.Views.ActionMode.ICallback are listed below.

Public Methods

OnActionItemClicked(ActionMode, IMenuItem) : Boolean
Called to report a user click on an action button.
OnCreateActionMode(ActionMode, IMenu) : Boolean
Called when action mode is first created.
Called when an action mode is about to be exited and destroyed.
OnPrepareActionMode(ActionMode, IMenu) : Boolean
Called to refresh an action mode's action menu whenever it is invalidated.