Skip to content

Most visited

Recently visited

navigation
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.

See also:

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
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.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.