Internal unique identifier for the row.
The base animation duration for scrolling.
Whether the row can receive focus.
The container group node for the row.
The content data for the row.
The duration for fast scrolling animations.
The currently focused item index in the row.
The focus manager for this row.
Optional
focusThe view to receive focus, if any.
The height of the row.
The row's unique identifier.
The index of the row in the collection view.
Whether the row is currently animating.
Whether the row uses floating focus animation.
Whether the row is focusable.
Whether the row is visible.
Whether the row is currently on screen.
The last rendered Y position of the row.
The layout instance managing cell arrangement for this row.
Reference to the parent collection view.
The rendered list position of the row.
The current row state (e.g., None, Loading, Loaded, etc.).
The scroll speed for animations.
The starting index for scrolling/animation.
The target index for scrolling/animation.
The width of the viewport for this row.
Animates the row between indexes during navigation. Updates the virtual position and renders the row at the new position.
The render event containing animation details.
Animates between indexes using time-based interpolation.
The render event.
Animates the row to the specified item index.
The target item index.
Private
calculateCalculates the height of the row based on its content. Uses the number of items and their individual heights.
The data source row content.
The calculated row height.
Gets the rendered cell for a given item index.
The index of the item.
The rendered cell, if any.
Gets focus information for a given cell index.
The cell index (default: -1 for current focus).
The focus info object.
Gets the percent completion of focus movement between items.
The focus percent (0 to 1).
Gets the time required to move to the next item.
The time in milliseconds.
Gets the total time required to move to the target item.
The time in milliseconds.
Mounts the row into the collection view and configures its content.
The parent collection view.
The data source row content.
Called when the row enters the screen. Prepares layout and marks as visible.
Called when the row exits the screen. Cleans up layout and marks as not visible.
Called before the row is released back to the pool. Cleans up layout and resets content and parent references.
Called before the row is reused from the pool. Resets layout state.
Renders the row and its cells based on the render event. Handles forced renders and animation between indexes.
The render event.
Updates the view status of cells when focus changes.
The previously focused index.
The newly focused index.
GridRow
is a specialized implementation ofBaseCollectionViewRow
designed to handle grid-based layouts. It manages the layout, rendering, and animations for rows in a grid collection view.