Compose API Reference Compose UI invalidateLayer Function Common fun LayoutModifierNode.invalidateLayer() = requireCoordinator(Nodes.Layout).invalidateLayer() This will invalidate the current node's layer, and ensure that the layer is redrawn for the next frame.
Compose API Reference Compose UI invalidateLayer Function Common fun LayoutModifierNode.invalidateLayer() = requireCoordinator(Nodes.Layout).invalidateLayer() This will invalidate the current node's layer, and ensure that the layer is redrawn for the next frame.