Function

invalidatePlacement

Requests a relayout of the SubspaceLayoutModifierNode composition tree.

invalidatePlacement

Source set: Android
public fun SubspaceLayoutModifierNode.invalidatePlacement()

Requests a relayout of the SubspaceLayoutModifierNode composition tree.

This is used to request a relayout in stateful layout modifiers that are impacted by events that don't trigger a recomposition. Do not call this from SubspaceLayoutModifierNode.measure.

Last updated: