Function

invalidatePlacement

Requests a relayout of the SubspaceLayoutModifierNode composition tree.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

invalidatePlacement

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.