Android Guides | Samples

Android.Views.ViewTreeObserver.IOnWindowFocusChangeListener

Interface definition for a callback to be invoked when the view hierarchy's window focus state changes.

See Also: ViewTreeObserver+IOnWindowFocusChangeListener

Syntax

[Android.Runtime.Register("android/view/ViewTreeObserver$OnWindowFocusChangeListener", "", "Android.Views.ViewTreeObserver/IOnWindowFocusChangeListenerInvoker")]
public interface ViewTreeObserver.IOnWindowFocusChangeListener : IJavaObject, IDisposable

Remarks

Interface definition for a callback to be invoked when the view hierarchy's window focus state changes.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18

The members of Android.Views.ViewTreeObserver.IOnWindowFocusChangeListener are listed below.

Public Methods

OnWindowFocusChanged(Boolean)
Callback method to be invoked when the window focus changes in the view tree.