MosaicLayoutResponse

data class MosaicLayoutResponse(val columns: Int, val tiles: List<TileResponse>)

A mosaic layout divides the available space into a grid of blocks, and overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid blocks and can be placed at arbitrary locations in the grid.

Constructors

Link copied to clipboard
fun MosaicLayoutResponse(columns: Int, tiles: List<TileResponse>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive.

Link copied to clipboard

The tiles to display.