Share via


RemoteViews.ViewId Property

Definition

Get the ID of the top-level view of the XML layout, if set using RemoteViews#RemoteViews(String, int, int).

public virtual int ViewId { [Android.Runtime.Register("getViewId", "()I", "GetGetViewIdHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getViewId", "()I", "GetGetViewIdHandler", ApiSince=31)>]
member this.ViewId : int

Property Value

Attributes

Remarks

Get the ID of the top-level view of the XML layout, if set using RemoteViews#RemoteViews(String, int, int).

Java documentation for android.widget.RemoteViews.getViewId().

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