public static interface View.OnFocusChangeListener
android.view.View.OnFocusChangeListener |
Known Indirect Subclasses |
当视图的焦点状态改变时调用回调的接口定义。
Public methods |
|
---|---|
abstract void |
onFocusChange(View v, boolean hasFocus) 当视图的焦点状态发生变化时调用。 |
void onFocusChange (View v, boolean hasFocus)
当视图的焦点状态发生变化时调用。
Parameters | |
---|---|
v |
View : The view whose state has changed. |
hasFocus |
boolean : The new focus state of v. |