to top
Android APIs
Added in API level 1
public static interface

ViewStub.OnInflateListener

android.view.ViewStub.OnInflateListener

Class Overview

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

public abstract void onInflate (ViewStub stub, View inflated)

Added in API level 1

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 The ViewStub that initiated the inflation.
inflated The inflated View.