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

abstract fun onGlobalLayout(): Unit

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