共用方式為


AdapterView<T>.Adapter Property

Definition

Returns the adapter currently associated with this widget.

public abstract T Adapter { [Android.Runtime.Register("getAdapter", "()Landroid/widget/Adapter;", "GetGetAdapterHandler")] get; [Android.Runtime.Register("setAdapter", "(Landroid/widget/Adapter;)V", "GetSetAdapter_Landroid_widget_Adapter_Handler")] set; }
[<get: Android.Runtime.Register("getAdapter", "()Landroid/widget/Adapter;", "GetGetAdapterHandler")>]
[<set: Android.Runtime.Register("setAdapter", "(Landroid/widget/Adapter;)V", "GetSetAdapter_Landroid_widget_Adapter_Handler")>]
member this.Adapter : 'T with get, set

Property Value

T
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.

Applies to