RemoteViews.Apply(Context, ViewGroup) Method
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.
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
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.