liveview-native / liveview-native/liveview-client-jetpack
JetPack -> Modifiers -> Scroll: Modifier.onRotaryScrollEvent( onRotaryScrollEvent: (RotaryScrollEvent) -> Boolean )
@nelson-glauber is already working on this.
Since Feb 2, 2024.
- Dominant language
- Kotlin
- Stars
- 139
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Doc: https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier#(androidx.compose.ui.Modifier).onRotaryScrollEvent(kotlin.Function1)
Adding this [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) to the [modifier](https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier) parameter of a component will allow it to intercept [RotaryScrollEvent](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/rotary/RotaryScrollEvent)s if it (or one of its children) is focused.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.