次の方法で共有


LayoutInflater.Context Property

Definition

Return the context we are running in, for access to resources, class loader, etc.

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

Attributes

Remarks

Return the context we are running in, for access to resources, class loader, etc.

Java documentation for android.view.LayoutInflater.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