Function

forEach

Perform actions on each PaneMotionData, in the left-to-right order of the panes in the scaffold.

forEach

Source set: Common
public inline fun <Role : PaneScaffoldRole> PaneScaffoldMotionDataProvider<Role>.forEach(
    action: (Role, PaneMotionData) -> Unit
)

Perform actions on each PaneMotionData, in the left-to-right order of the panes in the scaffold.

Parameters

action action to perform on each PaneMotionData.
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: