lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 1

ViewTreeObserver.OnGlobalLayoutListener

public static interface ViewTreeObserver.OnGlobalLayoutListener

android.view.ViewTreeObserver.OnGlobalLayoutListener


Interface definition for a callback to be invoked when the global layout state or the visibility of views within the view tree changes.

Summary

Public methods

abstract void onGlobalLayout()

Callback method to be invoked when the global layout state or the visibility of views within the view tree changes

Public methods

onGlobalLayout

added in API level 1
public abstract void onGlobalLayout ()

Callback method to be invoked when the global layout state or the visibility of views within the view tree changes