Android.Widget.RemoteViews.AddView Method
Equivalent to calling Android.Views.ViewGroup.AddView(Android.Views.View) after inflating the given Android.Widget.RemoteViews.

Syntax

[Android.Runtime.Register("addView", "(ILandroid/widget/RemoteViews;)V", "GetAddView_ILandroid_widget_RemoteViews_Handler")]
public virtual void AddView (int viewId, RemoteViews nestedView)

Parameters

viewId
The id of the parent Android.Views.ViewGroup to add child into.
nestedView
Android.Widget.RemoteViews that describes the child.

Remarks

Equivalent to calling Android.Views.ViewGroup.AddView(Android.Views.View) after inflating the given Android.Widget.RemoteViews. This allows users to build "nested" Android.Widget.RemoteViews. In cases where consumers of Android.Widget.RemoteViews may recycle layouts, use RemoteViews.RemoveAllViews(int) to clear any existing children.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 7