Most visited

Recently visited

Added in API level 1

ViewStub.OnInflateListener

public static interface ViewStub.OnInflateListener

android.view.ViewStub.OnInflateListener


Listener用于在ViewStub成功地扩充其布局资源后接收通知。

也可以看看:

Summary

Public methods

abstract void onInflate(ViewStub stub, View inflated)

在ViewStub成功地扩充其布局资源后调用。

Public methods

onInflate

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

在ViewStub成功地扩充其布局资源后调用。 在将夸大的视图添加到层次结构之后但在布局传递之前调用此方法。

Parameters
stub ViewStub: The ViewStub that initiated the inflation.
inflated View: The inflated View.

Hooray!