requiresLayout
open override fun requiresLayout(child: Positionable, of: PositionableContainer, old: View.SizePreferences, new: View.SizePreferences): Boolean
Indicates whether a layout is needed because of the given size preferences change to a child of the given Container. This is called whenever the container's size
changes.
Return
true
if a layout is needed
Parameters
child
whose bounds has changed
of
the given container
old
preferences of the child
new
preferences of the child