Side Bar
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
Parameters
modifier
chars
字母字符索引列表
bubble Tip
滑动选中时的气泡提示
item Content
字母索引对应的Item内容
on Selected Change
当字母索引选中发生改变时触发此函数