Share via


ArrayAdapter.Context Property

Definition

Returns the context associated with this array adapter.

public virtual Android.Content.Context Context { [Android.Runtime.Register("getContext", "()Landroid/content/Context;", "GetGetContextHandler")] get; }
[<get: Android.Runtime.Register("getContext", "()Landroid/content/Context;", "GetGetContextHandler")>]
member this.Context : Android.Content.Context

Property Value

The Context associated with this adapter.

Attributes

Remarks

Returns the context associated with this array adapter. The context is used to create views from the resource passed to the constructor.

Java documentation for android.widget.ArrayAdapter.getContext().

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