如何为 bezel (Galaxy watch 4 Classic) wear os 3.0 (jetpack compose) 实现 positionindicator?

how to implement positionindicator for bezel (Galaxy watch 4 Classic) wear os 3.0 (jetpack compose)?

他们知道如何在 wear os 3.0 with jetpack compose

中实现按边框滚动(Galaxy watch 4 Classic)

文档中提到了使用 ScalingLazyListState 或 ScrollState,但到目前为止,我的设备的旋转边框滚动条尚未被识别。

如果有人有信息或示例,那将对我有很大帮助。

Wear Compose Alpha 15 现已支持。

    val focusRequester = remember { FocusRequester() }

    ScalingLazyColumn(
        modifier = modifier
            .fillMaxSize()
            .onRotaryScrollEvent {
                coroutineScope.launch {
                    scrollState.scrollBy(it.verticalScrollPixels)
                }
                true
            }
            .focusRequester(focusRequester)
            .focusable(),
        state = scrollState,

然后在显示屏幕时,或者可能由分页驱动(如果使用 Horizo​​ntalPager)调用 requestFocus()

    LaunchedEffect(Unit) {
        focusRequester.requestFocus()
    }