Constructs a new BaseCollectionViewRow and creates its layout.
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.
Private
isWhether 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.
Private
timeThe width of the viewport for this row.
Animates between indexes using time-based interpolation.
The render event.
Animates the row to the specified item index.
The target item index.
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 assigns content and layout.
The parent collection view.
The row content data.
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.
Private
updateUpdates internal fields for focus tracking after reaching a new item.
BaseCollectionViewRow manages a single row in a collection view, including its layout, focus, rendering, and scrolling. Handles mounting, animation between items, focus management, and cell status updates. Implements IReusable and IBaseCollectionViewRow interfaces.