The cache key for the cell. Initialized to an empty string by default.
Private_PrivateappPrivateconstraintThe current style key applied to this cell.
The index of the cell in the list. Initialized to -1 by default.
OptionalitemThe item property represents an identifiable entity that will be used within the BaseCell component. It is expected to implement the IIdentifiable interface.
The current view fragment associated with this cell.
PrivateviewInjected provider for managing view fragments.
PrivateapplyOptionalviewStatus: ViewStatusOptionalprecomputed: ComputedValueMapApplies the specified view status to the cell. Updates the view fragment's status. (Removed applyDataMap call to avoid redundant operations on status changes)
The view status to apply.
PrivatebuildOptionalviewStatus: ViewStatusOptionalcontentHeight: numberPrivatebuildOptionalviewStatus: ViewStatusOptionalcontentHeight: numberPrivategetPrivategetOptionalviewStatus: ViewStatusUse getConstraintLayoutCacheKeys — kept for tests.
PrivategetOptionalviewStatus: ViewStatusPrivategetOptionalviewStatus: ViewStatusPrivateinvokeRenders the cell at the specified coordinates. Updates the translation of the view fragment.
The x-coordinate.
The y-coordinate.
Resets the cell by setting item and row to undefined. This method does not remove any view fragment.
Sets the item and updates the cell size based on the provided row. If the row is undefined, it defaults the cell size to [640, 480]. If the new item is the same as the current item, it does nothing. Otherwise, it updates the item and triggers the changeRowHidden method.
For variable width rows, the cell width is retrieved from the layout's cellWidths array. If variable widths are not yet available (e.g., for dynamic rows before OnContentReady), it falls back to the row's default cellSize.
The row that this cell belongs to
Optionalitem: IIdentifiableThe new item to be set.
Sets the visibility of the cell. Updates the visibility of the view fragment.
Whether the cell should be visible.
Toggles the display of debug bounds for the cell.
Whether to show debug bounds.
DynamicCellis an extension ofBaseCellthat dynamically manages its view fragment. It handles style changes, view status updates, and rendering within a collection view.