Most visited

Recently visited

Added in API level 1

View.OnFocusChangeListener

public static interface View.OnFocusChangeListener

android.view.View.OnFocusChangeListener
Known Indirect Subclasses


当视图的焦点状态改变时调用回调的接口定义。

Summary

Public methods

abstract void onFocusChange(View v, boolean hasFocus)

当视图的焦点状态发生变化时调用。

Public methods

onFocusChange

Added in API level 1
void onFocusChange (View v, 
                boolean hasFocus)

当视图的焦点状态发生变化时调用。

Parameters
v View: The view whose state has changed.
hasFocus boolean: The new focus state of v.

Hooray!