AbsSpinner.Adapter Property
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.
The Adapter is used to provide the data which backs this Spinner.
public override Android.Widget.ISpinnerAdapter? Adapter { [Android.Runtime.Register("getAdapter", "()Landroid/widget/SpinnerAdapter;", "GetGetAdapterHandler")] get; [Android.Runtime.Register("setAdapter", "(Landroid/widget/SpinnerAdapter;)V", "GetSetAdapter_Landroid_widget_SpinnerAdapter_Handler")] set; }
[<get: Android.Runtime.Register("getAdapter", "()Landroid/widget/SpinnerAdapter;", "GetGetAdapterHandler")>]
[<set: Android.Runtime.Register("setAdapter", "(Landroid/widget/SpinnerAdapter;)V", "GetSetAdapter_Landroid_widget_SpinnerAdapter_Handler")>]
member this.Adapter : Android.Widget.ISpinnerAdapter with get, set
Property Value
- Attributes
Remarks
The Adapter is used to provide the data which backs this Spinner. It also provides methods to transform spinner items based on their position relative to the selected item.
Java documentation for android.widget.AbsSpinner.setAdapter(android.widget.SpinnerAdapter)
.
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.