Share via


InputMethodService.OnStartInputView(EditorInfo, Boolean) Method

Definition

Called when the input view is being shown and input has started on a new editor.

[Android.Runtime.Register("onStartInputView", "(Landroid/view/inputmethod/EditorInfo;Z)V", "GetOnStartInputView_Landroid_view_inputmethod_EditorInfo_ZHandler")]
public virtual void OnStartInputView (Android.Views.InputMethods.EditorInfo? editorInfo, bool restarting);
[<Android.Runtime.Register("onStartInputView", "(Landroid/view/inputmethod/EditorInfo;Z)V", "GetOnStartInputView_Landroid_view_inputmethod_EditorInfo_ZHandler")>]
abstract member OnStartInputView : Android.Views.InputMethods.EditorInfo * bool -> unit
override this.OnStartInputView : Android.Views.InputMethods.EditorInfo * bool -> unit

Parameters

editorInfo
EditorInfo

Description of the type of text being edited.

restarting
Boolean

Set to true if we are restarting input on the same text field as before.

Attributes

Remarks

Called when the input view is being shown and input has started on a new editor. This will always be called after #onStartInput, allowing you to do your general setup there and just view-specific setup here. You are guaranteed that #onCreateInputView() will have been called some time before this function is called.

Java documentation for android.inputmethodservice.InputMethodService.onStartInputView(android.view.inputmethod.EditorInfo, boolean).

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