Megosztás a következőn keresztül:


AutoCompleteTextView.OnItemSelectedListener Property

Definition

Returns the listener that is notified whenever the user selects an item in the drop down list. -or- Sets the listener that will be notified when the user selects an item in the drop down list.

public virtual Android.Widget.AdapterView.IOnItemSelectedListener? OnItemSelectedListener { [Android.Runtime.Register("getOnItemSelectedListener", "()Landroid/widget/AdapterView$OnItemSelectedListener;", "GetGetOnItemSelectedListenerHandler")] get; [Android.Runtime.Register("setOnItemSelectedListener", "(Landroid/widget/AdapterView$OnItemSelectedListener;)V", "GetSetOnItemSelectedListener_Landroid_widget_AdapterView_OnItemSelectedListener_Handler")] set; }
[<get: Android.Runtime.Register("getOnItemSelectedListener", "()Landroid/widget/AdapterView$OnItemSelectedListener;", "GetGetOnItemSelectedListenerHandler")>]
[<set: Android.Runtime.Register("setOnItemSelectedListener", "(Landroid/widget/AdapterView$OnItemSelectedListener;)V", "GetSetOnItemSelectedListener_Landroid_widget_AdapterView_OnItemSelectedListener_Handler")>]
member this.OnItemSelectedListener : Android.Widget.AdapterView.IOnItemSelectedListener with get, set

Property Value

the item selected listener

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.AutoCompleteTextView.getOnItemSelectedListener().

Property setter documentation:

Java documentation for android.widget.AutoCompleteTextView.setOnItemSelectedListener(android.widget.OnItemSelectedListener).

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