InputMethodService.OnCreateCandidatesView Method

Definition

Create and return the view hierarchy used to show candidates.

[Android.Runtime.Register("onCreateCandidatesView", "()Landroid/view/View;", "GetOnCreateCandidatesViewHandler")]
public virtual Android.Views.View? OnCreateCandidatesView ();
[<Android.Runtime.Register("onCreateCandidatesView", "()Landroid/view/View;", "GetOnCreateCandidatesViewHandler")>]
abstract member OnCreateCandidatesView : unit -> Android.Views.View
override this.OnCreateCandidatesView : unit -> Android.Views.View

Returns

Attributes

Remarks

Create and return the view hierarchy used to show candidates. This will be called once, when the candidates are first displayed. You can return null to have no candidates view; the default implementation returns null.

To control when the candidates view is displayed, use #setCandidatesViewShown(boolean). To change the candidates view after the first one is created by this function, use #setCandidatesView(View).

Java documentation for android.inputmethodservice.InputMethodService.onCreateCandidatesView().

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