ViewStub.Inflate Method

Definition

Inflates the layout resource identified by #getLayoutResource() and replaces this StubbedView in its parent by the inflated layout resource.

[Android.Runtime.Register("inflate", "()Landroid/view/View;", "")]
public Android.Views.View? Inflate ();
[<Android.Runtime.Register("inflate", "()Landroid/view/View;", "")>]
override this.Inflate : unit -> Android.Views.View

Returns

The inflated layout resource.

Attributes

Remarks

Inflates the layout resource identified by #getLayoutResource() and replaces this StubbedView in its parent by the inflated layout resource.

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

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