Function

getScrollViewportLength

Action to get a scrollable's active view port amount for scrolling actions.

getScrollViewportLength

Source set: Common
public fun SemanticsPropertyReceiver.getScrollViewportLength(
    label: String? = null,
    action: (() -> Float?),
): Unit

Action to get a scrollable's active view port amount for scrolling actions.

Parameters

label Optional label for this action.
action Action to be performed when the SemanticsActions.GetScrollViewportLength is called.
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: