Share via


RemoteViews.AddStableView(Int32, RemoteViews, Int32) Method

Definition

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

[Android.Runtime.Register("addStableView", "(ILandroid/widget/RemoteViews;I)V", "GetAddStableView_ILandroid_widget_RemoteViews_IHandler", ApiSince=31)]
public virtual void AddStableView (int viewId, Android.Widget.RemoteViews nestedView, int stableId);
[<Android.Runtime.Register("addStableView", "(ILandroid/widget/RemoteViews;I)V", "GetAddStableView_ILandroid_widget_RemoteViews_IHandler", ApiSince=31)>]
abstract member AddStableView : int * Android.Widget.RemoteViews * int -> unit
override this.AddStableView : int * Android.Widget.RemoteViews * int -> unit

Parameters

viewId
Int32

The id of the parent ViewGroup to add child into.

nestedView
RemoteViews

RemoteViews that describes the child.

stableId
Int32

An id that is stable across different versions of RemoteViews.

Attributes

Remarks

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

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