🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

dispatchOnScrollChanged

Call this function whenever a scroll chang happened in the LayoutNode that this DelegatableNode is attached to to let the underlying platform know that a scroll event happened in this LayoutNode.

dispatchOnScrollChanged

Source set: Common
public fun DelegatableNode.dispatchOnScrollChanged(delta: Offset): Unit

Call this function whenever a scroll chang happened in the LayoutNode that this DelegatableNode is attached to to let the underlying platform know that a scroll event happened in this LayoutNode.

On Android this will trigger a ViewTreeObserver onScrollChanged callback.

Parameters

delta The scroll delta that was consumed by this node.