Udostępnij za pośrednictwem


ViewStub.InflatedId Property

Definition

Returns the id taken by the inflated view. -or- Defines the id taken by the inflated view.

public int InflatedId { [Android.Runtime.Register("getInflatedId", "()I", "")] get; [Android.Runtime.Register("setInflatedId", "(I)V", "")] set; }
[<get: Android.Runtime.Register("getInflatedId", "()I", "")>]
[<set: Android.Runtime.Register("setInflatedId", "(I)V", "")>]
member this.InflatedId : int with get, set

Property Value

A positive integer used to identify the inflated view or #NO_ID if the inflated view should keep its id.

Attributes

Remarks

Property getter documentation:

Returns the id taken by the inflated view. If the inflated id is View#NO_ID, the inflated view keeps its original id.

Java documentation for android.view.ViewStub.getInflatedId().

Property setter documentation:

Defines the id taken by the inflated view. If the inflated id is View#NO_ID, the inflated view keeps its original id.

Java documentation for android.view.ViewStub.setInflatedId(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

See also