Freigeben über


InputMethodManager.RestartInput(View) Method

Definition

If the input method is currently connected to the given view, restart it with its new contents.

[Android.Runtime.Register("restartInput", "(Landroid/view/View;)V", "")]
public void RestartInput (Android.Views.View? view);
[<Android.Runtime.Register("restartInput", "(Landroid/view/View;)V", "")>]
member this.RestartInput : Android.Views.View -> unit

Parameters

view
View

The view whose text has changed.

Attributes

Remarks

If the input method is currently connected to the given view, restart it with its new contents. You should call this when the text within your view changes outside of the normal input method or key input flow, such as when an application calls TextView.setText().

Java documentation for android.view.inputmethod.InputMethodManager.restartInput(android.view.View).

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