Language

Dialog.OnActionModeStarted(ActionMode) Method

Definition

Called when an action mode has been started.

[Android.Runtime.Register("onActionModeStarted", "(Landroid/view/ActionMode;)V", "GetOnActionModeStarted_Landroid_view_ActionMode_Handler")]
public virtual void OnActionModeStarted(Android.Views.ActionMode? mode);
[<Android.Runtime.Register("onActionModeStarted", "(Landroid/view/ActionMode;)V", "GetOnActionModeStarted_Landroid_view_ActionMode_Handler")>]
abstract member OnActionModeStarted : Android.Views.ActionMode -> unit
override this.OnActionModeStarted : Android.Views.ActionMode -> unit

Parameters

mode
ActionMode

ActionMode: The new mode that has just been started.

Implements

Attributes

Remarks

Called when an action mode has been started. The appropriate mode callback method will have already been invoked. Note that if you override this method you should always call through to the superclass implementation by calling super.onActionModeStarted(mode). If you override this method you must call through to the superclass implementation.

Android reference for android.app.Dialog.onActionModeStarted.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to