android.view.ViewTreeObserver.OnWindowFocusChangeListener |
Interface definition for a callback to be invoked when the view hierarchy's window focus state changes.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Callback method to be invoked when the window focus changes in the view tree.
|
Callback method to be invoked when the window focus changes in the view tree.
hasFocus | Set to true if the window is gaining focus, false if it is losing focus. |
---|
Except as noted, this content is licensed under Apache 2.0. For details and restrictions, see the Content License.
Android 6.0 r1 —
* Required Fields
You have successfully signed up for the latest Android developer news and tips.