androidx.compose.ui.node
UnplacedAwareModifierNodeSince 1.10
Interface · from org.jetbrains.compose.ui:ui:1.12.2
No hand-written docs yet.
A androidx.compose.ui.Modifier.Node which receives a callback when the layout node is not placed anymore.
interface UnplacedAwareModifierNode : DelegatableNode
Is a
Functions
onUnplaced
fun onUnplaced()
This method is called when the layout was placed earlier, and is not placed anymore. It happens when some of the parents still compose this child, but don't place a corresponding androidx.compose.ui.layout.Placeable, or when this child is completely removed from the tree after being placed earlier. Not placed children are not drawn and doesn't receive pointer input events.
Library docs
A androidx.compose.ui.Modifier.Node which receives a callback when the layout node is not
placed anymore.