SideBar

fun SideBar(modifier: Modifier = Modifier, chars: CharArray = defaultChars, bubbleTip: @Composable BoxScope.(Char) -> Unit = { SideBarBubbleTip(it) }, itemContent: @Composable ColumnScope.(Char, Boolean) -> Unit = { char, selected -> SideBarItemContent(char, selected) }, onSelectedChange: (Char) -> Unit = {})

字母索引侧边栏

Author

Jenly

Follow me

Parameters

modifier
chars

字母字符索引列表

bubbleTip

滑动选中时的气泡提示

itemContent

字母索引对应的Item内容

onSelectedChange

当字母索引选中发生改变时触发此函数