AlertDialog.Builder.SetOnItemSelectedListener Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a listener to be invoked when an item in the list is selected.
[Android.Runtime.Register("setOnItemSelectedListener", "(Landroid/widget/AdapterView$OnItemSelectedListener;)Landroid/app/AlertDialog$Builder;", "GetSetOnItemSelectedListener_Landroid_widget_AdapterView_OnItemSelectedListener_Handler")]
public virtual Android.App.AlertDialog.Builder SetOnItemSelectedListener (Android.Widget.AdapterView.IOnItemSelectedListener listener);
[<Android.Runtime.Register("setOnItemSelectedListener", "(Landroid/widget/AdapterView$OnItemSelectedListener;)Landroid/app/AlertDialog$Builder;", "GetSetOnItemSelectedListener_Landroid_widget_AdapterView_OnItemSelectedListener_Handler")>]
abstract member SetOnItemSelectedListener : Android.Widget.AdapterView.IOnItemSelectedListener -> Android.App.AlertDialog.Builder
override this.SetOnItemSelectedListener : Android.Widget.AdapterView.IOnItemSelectedListener -> Android.App.AlertDialog.Builder
Parameters
- listener
- AdapterView.IOnItemSelectedListener
The listener to be invoked.
Returns
- Attributes
Remarks
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.