Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
open class CSGridItemView<RowType : Any>(parent: CSGridView<*, *>, group: ViewGroup, @LayoutRes layout: Int) : CSView<ViewGroup>
Link copied to clipboard
data class CSItemSection<Item>(val id: String, val title: String, val description: String = "", var items: List<Item> = emptyList(), val store: CSStore = CSStore.Empty, val isCollapsedDefault: Boolean = false)
Link copied to clipboard
data class CSSectionItem<Section, Item>(val section: Section, val index: Int, val item: Item? = null)

Functions

Link copied to clipboard
fun <Item> MutableList<Pair<CSSectionItem<CSItemSection<Item>, Item>, Int>>.load(section: CSItemSection<Item>, index: Int, filter: (items: Collection<Item>) -> Collection<Item>? = null)
Link copied to clipboard
fun <Item> MutableList<Pair<CSSectionItem<CSItemSection<Item>, Item>, Int>>.loadItems(section: CSItemSection<Item>, index: Int, filter: (items: Collection<Item>) -> Collection<Item>? = null)
Link copied to clipboard
fun <RowType : Any, Item : CSGridItemView<RowType>> Item.onLoad(function: Item.(value: RowType) -> Unit): Item
Link copied to clipboard