Skip to content

RowLayout

Luke Zhao edited this page Aug 16, 2018 · 1 revision

RowLayout

RowLayout aligns items in a single row from left to right no matter how high the collection view is. Similar to FlowLayout, It also support justifyContents and alignItems. Please visit FlowLayout’s documentation for details.

In addition to justifyContents and alignItems, RowLayout also support expanding some cells to fill the horizontal empty space.

You can provide a list of fillIdentifier to it. And when there is empty space to fill, those data with identifier within that list will be expanded to fill the empty space. This is usually used in combination with a SimpleViewProvider or a ComposedProvider. Below are two examples demonstrating this feature.

Navbar example

Login example.

Clone this wiki locally