Condividi tramite


AdapterView.IOnItemSelectedListener.OnNothingSelected(AdapterView) Method

Definition

Callback method to be invoked when the selection disappears from this view.

[Android.Runtime.Register("onNothingSelected", "(Landroid/widget/AdapterView;)V", "GetOnNothingSelected_Landroid_widget_AdapterView_Handler:Android.Widget.AdapterView/IOnItemSelectedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnNothingSelected (Android.Widget.AdapterView? parent);
[<Android.Runtime.Register("onNothingSelected", "(Landroid/widget/AdapterView;)V", "GetOnNothingSelected_Landroid_widget_AdapterView_Handler:Android.Widget.AdapterView/IOnItemSelectedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnNothingSelected : Android.Widget.AdapterView -> unit

Parameters

parent
AdapterView

The AdapterView that now contains no selected item.

Attributes

Remarks

Callback method to be invoked when the selection disappears from this view. The selection can disappear for instance when touch is activated or when the adapter becomes empty.

Java documentation for android.widget.AdapterView.OnItemSelectedListener.onNothingSelected(android.widget.AdapterView<?>).

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