Function

forEach

Iterate over all the anchors.

forEach

Source set: Common
public 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
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: