Interface

RemoteCollapsibleRowScope

Scope for the children of RemoteCollapsibleRow.

Source set: JvmAndAndroid
public sealed interface RemoteCollapsibleRowScope : RemoteRowScope

Scope for the children of RemoteCollapsibleRow.

Functions

collapsiblePriority

Source set: JvmAndAndroid
public fun RemoteModifier.collapsiblePriority(priority: Float): RemoteModifier

Sets the collapsible priority of the child.

Priority determines the order in which children are hidden when space is limited. Higher priority items remain visible longer. Items with the same priority are hidden sequentially in reverse layout order (last child with same priority is hidden first).

Example of assigning collapsible priorities to children in a RemoteCollapsibleRow:

Parameters

priority priority of the child; higher values are prioritized to remain visible longer

Return

a RemoteModifier that assigns horizontal collapsible priority to the child

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: