Added in API level 1

ViewStub.OnInflateListener


public static interface ViewStub.OnInflateListener

android.view.ViewStub.OnInflateListener


Listener used to receive a notification after a ViewStub has successfully inflated its layout resource.

Summary

Public methods

abstract void onInflate(ViewStub stub, View inflated)

Invoked after a ViewStub successfully inflated its layout resource.

Public methods

onInflate

Added in API level 1
public abstract void onInflate (ViewStub stub, 
                View inflated)

Invoked after a ViewStub successfully inflated its layout resource. This method is invoked after the inflated view was added to the hierarchy but before the layout pass.

Parameters
stub ViewStub: The ViewStub that initiated the inflation.

inflated View: The inflated View.