Added in API level 1

OnGlobalLayoutListener


interface 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 Unit

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
abstract fun onGlobalLayout(): Unit

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