Function

forEach

Iterate over all the anchors.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Source set: Common

Added in 1.11.0-rc01

inline fun <T> DraggableAnchors<T>.forEach(block: (key: T, position: Float) -> Unit)

Iterate over all the anchors.

Parameters

block The action to invoke with the key and position