RemoteViews.Apply(Context, ViewGroup) Method

Definition

Inflates the view hierarchy represented by this object and applies all of the actions.

[Android.Runtime.Register("apply", "(Landroid/content/Context;Landroid/view/ViewGroup;)Landroid/view/View;", "GetApply_Landroid_content_Context_Landroid_view_ViewGroup_Handler")]
public virtual Android.Views.View? Apply (Android.Content.Context? context, Android.Views.ViewGroup? parent);
[<Android.Runtime.Register("apply", "(Landroid/content/Context;Landroid/view/ViewGroup;)Landroid/view/View;", "GetApply_Landroid_content_Context_Landroid_view_ViewGroup_Handler")>]
abstract member Apply : Android.Content.Context * Android.Views.ViewGroup -> Android.Views.View
override this.Apply : Android.Content.Context * Android.Views.ViewGroup -> Android.Views.View

Parameters

context
Context

Default context to use

parent
ViewGroup

Parent that the resulting view hierarchy will be attached to. This method does <strong>not</strong> attach the hierarchy. The caller should do so when appropriate.

Returns

The inflated view hierarchy

Attributes

Remarks

Java documentation for android.widget.RemoteViews.apply(android.content.Context, android.view.ViewGroup).

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