Share via


RemoteViews.AddView(Int32, RemoteViews) Method

Definition

Equivalent to calling ViewGroup#addView(View) after inflating the given RemoteViews.

[Android.Runtime.Register("addView", "(ILandroid/widget/RemoteViews;)V", "GetAddView_ILandroid_widget_RemoteViews_Handler")]
public virtual void AddView (int viewId, Android.Widget.RemoteViews? nestedView);
[<Android.Runtime.Register("addView", "(ILandroid/widget/RemoteViews;)V", "GetAddView_ILandroid_widget_RemoteViews_Handler")>]
abstract member AddView : int * Android.Widget.RemoteViews -> unit
override this.AddView : int * Android.Widget.RemoteViews -> unit

Parameters

viewId
Int32

The id of the parent ViewGroup to add child into.

nestedView
RemoteViews

RemoteViews that describes the child.

Attributes

Remarks

Java documentation for android.widget.RemoteViews.addView(int, android.widget.RemoteViews).

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