Skip to content

1.2.4

Compare
Choose a tag to compare
@raulriera raulriera released this 26 May 18:16
f25bf30

Enables support for specifying the layout of each edge of a cell. The usage is similar to the previous CombinedLayout API, but extended to all four corners. Example:

// Layout pinned to the edges of the contentView
public typealias EdgeBasedTableItemLayout = Layout<EdgeLayout.Top, EdgeLayout.Leading, EdgeLayout.Bottom, EdgeLayout.Trailing>

// Layout respecting the margins of the contentView
public typealias LayoutMarginsTableItemLayout = Layout<MarginsLayout.Top, MarginsLayout.Leading, MarginsLayout.Bottom, MarginsLayout.Trailing>

The available options are `EdgeLayout`, and `MarginsLayout`. But, you can create your own as you wish.

Deprecated the use of CombinedLayout