RemoteViews.AddStableView(Int32, RemoteViews, Int32) 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.
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
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.