View.AutofillTypeList Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.AutofillType enum directly instead of this field.

Autofill type for a selection list field, which is filled by an int representing the element index inside the list (starting at 0).

[Android.Runtime.Register("AUTOFILL_TYPE_LIST", ApiSince=26)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.AutofillType enum directly instead of this field.", true)]
public const Android.Views.AutofillType AutofillTypeList = 3;
[<Android.Runtime.Register("AUTOFILL_TYPE_LIST", ApiSince=26)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.AutofillType enum directly instead of this field.", true)>]
val mutable AutofillTypeList : Android.Views.AutofillType

Field Value

Value = 3
Attributes

Remarks

Autofill type for a selection list field, which is filled by an int representing the element index inside the list (starting at 0).

AutofillValue instances for autofilling a View can be obtained through AutofillValue#forList(int), and the value passed to autofill a View can be fetched through AutofillValue#getListValue().

The available options in the selection list are typically provided by android.app.assist.AssistStructure.ViewNode#getAutofillOptions().

Java documentation for android.view.View.AUTOFILL_TYPE_LIST.

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