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

? Examples
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.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.