public static interface ComponentTreeObserver.GlobalFocusUpdatedListener
This listener is defined by ComponentTreeObserver.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onGlobalFocusUpdated(Component oldFocus,
Component newFocus) |
Callback method to be invoked when the focus state within the component tree changes.
|
void onGlobalFocusUpdated(Component oldFocus, Component newFocus)
oldFocus - Indicates the component with focus before focus change.newFocus - Indicates the component with focus after focus change.