Hosanna UI API v1.30.2-next
    Preparing search index...

    Interface for a collection view cell. Extends IReusable.

    interface ICollectionViewCell {
        _cacheKey?: string;
        _hid?: string;
        index: number;
        item?: IIdentifiable;
        row: IBaseCollectionViewRow;
        viewStatus: ViewStatus;
        applyScale(scale: number): void;
        applyViewStatus(viewStatus: ViewStatus): void;
        getFocusHolder(): undefined | ISGNGroup;
        onWillRelease(): void;
        onWillReuse(): void;
        renderAt(x: number, y: number): void;
        setContent(row: IBaseCollectionViewRow, item?: IIdentifiable): void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    _cacheKey?: string
    _hid?: string
    index: number

    The index of the cell in the list.

    item?: IIdentifiable

    The item associated with the cell.

    The row this cell belongs to.

    viewStatus: ViewStatus

    The current view status of the cell.

    Methods

    • Parameters

      • scale: number

      Returns void

    • Applies a view status to the cell.

      Parameters

      Returns void

    • Renders the cell at the specified coordinates.

      Parameters

      • x: number
      • y: number

      Returns void