ViewMetricsObserver

A lifecycle aware View.OnLayoutChangeListener that calculates ViewMetrics and notifies onChange callback on target view layout update.

Constructors

Link copied to clipboard
constructor(view: View, onChange: (ViewMetrics) -> Unit)

Functions

Link copied to clipboard
open override fun onAbandoned()
Link copied to clipboard
open override fun onForgotten()
Link copied to clipboard
open override fun onLayoutChange(v: View, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int)
Link copied to clipboard
open override fun onRemembered()