InputMethodService.OnFinishInputView(Boolean) Method

Definition

Called when the input view is being hidden from the user.

[Android.Runtime.Register("onFinishInputView", "(Z)V", "GetOnFinishInputView_ZHandler")]
public virtual void OnFinishInputView (bool finishingInput);
[<Android.Runtime.Register("onFinishInputView", "(Z)V", "GetOnFinishInputView_ZHandler")>]
abstract member OnFinishInputView : bool -> unit
override this.OnFinishInputView : bool -> unit

Parameters

finishingInput
Boolean

If true, #onFinishInput will be called immediately after.

Attributes

Remarks

Called when the input view is being hidden from the user. This will be called either prior to hiding the window, or prior to switching to another target for editing.

The default implementation uses the InputConnection to clear any active composing text; you can override this (not calling the base class implementation) to perform whatever behavior you would like.

Java documentation for android.inputmethodservice.InputMethodService.onFinishInputView(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