Freigeben über


ViewStub.SetOnInflateListener(ViewStub+IOnInflateListener) Method

Definition

Specifies the inflate listener to be notified after this ViewStub successfully inflated its layout resource.

[Android.Runtime.Register("setOnInflateListener", "(Landroid/view/ViewStub$OnInflateListener;)V", "")]
public void SetOnInflateListener (Android.Views.ViewStub.IOnInflateListener? inflateListener);
[<Android.Runtime.Register("setOnInflateListener", "(Landroid/view/ViewStub$OnInflateListener;)V", "")>]
member this.SetOnInflateListener : Android.Views.ViewStub.IOnInflateListener -> unit

Parameters

inflateListener
ViewStub.IOnInflateListener

The OnInflateListener to notify of successful inflation.

Attributes

Remarks

Java documentation for android.view.ViewStub.setOnInflateListener(android.view.OnInflateListener).

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