SectionedListScope

Receiver scope which is used by content parameter in SectionedList.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun section(content: SectionScope<Unit>.() -> Unit)

Add a section in loaded state with a single item.

fun <T> section(state: Section.State<T>, content: SectionScope<T>.() -> Unit)

fun <T> section(list: List<T>, content: SectionScope<T>.() -> Unit)

Add a section in loaded state.