requiresLayout
Indicates whether a layout is needed because of the given size change to a container. This is called whenever the container's size
changes.
Return
true
if a layout is needed
Parameters
old
size of the container
new
size of the container
Indicates whether a layout is needed because of the given bounds change to a child within a container. This is called whenever the child's size
changes.
Return
true
if a layout is needed
Parameters
child
whose bounds has changed
within
the given size
old
bounds of the child
new
bounds of the child