addTiles

abstract fun addTiles(tileSchemas: List<TileSchema>, where: InsertionPosition = InsertionPosition.End): Result<Unit>

Same as addTile, for several tiles inserted together at the same position, preserving tileSchemas' own order.

Parameters

tileSchemas

the tiles to insert.

where

where among the current root children to insert them. Defaults to the end.


abstract fun addTiles(tileSchemas: List<TileSchema>, groupingTileId: String, where: InsertionPosition = InsertionPosition.End): Result<Unit>

Same as the groupingTileId overload of addTile, for several tiles inserted together.

Parameters

tileSchemas

the tiles to insert, in order.

groupingTileId

id of the container tile to insert into.

where

where among that container's current children to insert them. Defaults to the end.