Sdílet prostřednictvím


ViewTreeObserver.IOnWindowVisibilityChangeListener.OnWindowVisibilityChanged Method

Definition

Callback method to be invoked when the window visibility changes in the view tree.

[Android.Runtime.Register("onWindowVisibilityChanged", "(I)V", "GetOnWindowVisibilityChanged_IHandler:Android.Views.ViewTreeObserver/IOnWindowVisibilityChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnWindowVisibilityChanged (Android.Views.ViewStates visibility);
[<Android.Runtime.Register("onWindowVisibilityChanged", "(I)V", "GetOnWindowVisibilityChanged_IHandler:Android.Views.ViewTreeObserver/IOnWindowVisibilityChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnWindowVisibilityChanged : Android.Views.ViewStates -> unit

Parameters

visibility
ViewStates

The new visibility of the window.

Attributes

Remarks

Callback method to be invoked when the window visibility changes in the view tree.

Java documentation for android.view.ViewTreeObserver.OnWindowVisibilityChangeListener.onWindowVisibilityChanged(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to