recycler-view-divider / com.fondesa.recyclerviewdivider / Line

Line

inline class Line

Identifies the row in a vertical grid or the column in an horizontal grid. A single cell can be larger than a single column for a vertical grid or than a single row for an horizontal grid (Cell.spanSize).

Parameters

cells - the items places in this line.

Constructors

<init>

Line(cells: List<Cell>)

Identifies the row in a vertical grid or the column in an horizontal grid. A single cell can be larger than a single column for a vertical grid or than a single row for an horizontal grid (Cell.spanSize).

Properties

cells

val cells: List<Cell>

the items places in this line.

cellsCount

val cellsCount: Int