다음을 통해 공유


ViewTreeObserver.DispatchOnGlobalLayout Method

Definition

Notifies registered listeners that a global layout happened.

[Android.Runtime.Register("dispatchOnGlobalLayout", "()V", "")]
public void DispatchOnGlobalLayout ();
[<Android.Runtime.Register("dispatchOnGlobalLayout", "()V", "")>]
member this.DispatchOnGlobalLayout : unit -> unit
Attributes

Remarks

Notifies registered listeners that a global layout happened. This can be called manually if you are forcing a layout on a View or a hierarchy of Views that are not attached to a Window or in the GONE state.

Java documentation for android.view.ViewTreeObserver.dispatchOnGlobalLayout().

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