Package-level declarations

Types

Link copied to clipboard
@Serializable
@SerialName(value = "centered-element")
data class CenteredElementLayout(val body: UiElement) : UiLayout

Full-screen layout for a single element.

Link copied to clipboard
@Serializable
@SerialName(value = "empty")
object EmptyLayout : UiLayout
Link copied to clipboard
@Serializable
@SerialName(value = "fixed-grid")
data class FixedGridLayout(val columns: Int, val items: List<FixedGridLayout.GridItem>) : UiLayout

Simple Grid of UI elements.

Link copied to clipboard
@Serializable
@SerialName(value = "page")
data class PageLayout(val body: UiElement) : UiLayout

Standard top-to-bottom page layout.

Link copied to clipboard
@Serializable
@SerialName(value = "scrolling-list")
data class ScrollingListLayout(val items: List<UiElement>, val groupingStyle: GroupingStyle = GroupingStyle.Items) : UiLayout

Scrolling list of UI elements.

Link copied to clipboard
@Serializable
sealed interface UiLayout

Classes of full-page layouts for collections of UI elements.