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.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: