View.OnVisibilityAggregated(Boolean) Method

Definition

Called when the user-visibility of this View is potentially affected by a change to this view itself, an ancestor view or the window this view is attached to.

[Android.Runtime.Register("onVisibilityAggregated", "(Z)V", "GetOnVisibilityAggregated_ZHandler", ApiSince=24)]
public virtual void OnVisibilityAggregated (bool isVisible);
[<Android.Runtime.Register("onVisibilityAggregated", "(Z)V", "GetOnVisibilityAggregated_ZHandler", ApiSince=24)>]
abstract member OnVisibilityAggregated : bool -> unit
override this.OnVisibilityAggregated : bool -> unit

Parameters

isVisible
Boolean

true if this view and all of its ancestors are #VISIBLE and this view's window is also visible

Attributes

Remarks

Called when the user-visibility of this View is potentially affected by a change to this view itself, an ancestor view or the window this view is attached to.

Java documentation for android.view.View.onVisibilityAggregated(boolean).

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