Function

checkScrollableContainerConstraints

checkScrollableContainerConstraints

Source set: Common
public fun checkScrollableContainerConstraints(constraints: Constraints, orientation: Orientation)

Parameters

constraints Constraints used to measure the scrollable container
orientation orientation of the scrolling

Throws: IllegalStateException

if the container was measured with the infinity constraints in the direction of scrolling. This usually means nesting scrollable in the same direction containers which is a performance issue and is discouraged.

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: