🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

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.

Source set: Common
public interface 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.

Functions

forceRemeasure

Source set: Common
public fun forceRemeasure()

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.