Remeasurement


This object is associated with a layout node and allows to execute some extra measure/layout actions which are needed for some complex layouts. In most cases you don't need it as measuring and layout should be correctly working automatically for most cases.

Summary

Public functions

Unit

Performs the node remeasuring synchronously even if the node was not marked as needs remeasure before.

Cmn

Public functions

forceRemeasure

fun forceRemeasure(): Unit

Performs the node remeasuring synchronously even if the node was not marked as needs remeasure before. Useful for cases like when during scrolling you need to re-execute the measure block to consume the scroll offset and remeasure your children in a blocking way.