Android.Widget.TextView.OnEditorAction Method
Called when an attached input method calls Android.Views.InputMethods.InputConnection.performEditorAction(int) for this text view.

Syntax

[Android.Runtime.Register("onEditorAction", "(I)V", "GetOnEditorAction_IHandler")]
public virtual void OnEditorAction ([Android.Runtime.GeneratedEnum] Android.Views.InputMethods.ImeAction actionCode)

See Also

TextView.SetOnEditorActionListener(.IOnEditorActionListener)

Parameters

actionCode
The code of the action being performed.

Remarks

Called when an attached input method calls Android.Views.InputMethods.InputConnection.performEditorAction(int) for this text view. The default implementation will call your action listener supplied to TextView.SetOnEditorActionListener(.IOnEditorActionListener), or perform a standard operation for Android.Views.InputMethods.EditorInfo.IME_ACTION_NEXT, Android.Views.InputMethods.EditorInfo.IME_ACTION_PREVIOUS, or Android.Views.InputMethods.EditorInfo.IME_ACTION_DONE.

For backwards compatibility, if no IME options have been set and the text view would not normally advance focus on enter, then the NEXT and DONE actions received here will be turned into an enter key down/up pair to go through the normal key handling.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3