Function

hasScrollToIndexAction

Returns whether the node defines the ability to scroll to an item index.

hasScrollToIndexAction

Source set: Common
public fun hasScrollToIndexAction(): SemanticsMatcher

Returns whether the node defines the ability to scroll to an item index.

Note that not all scrollable containers have item indices. For example, a scrollable doesn't have items with an index, while LazyColumn does.

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: