liveview-native / liveview-native/liveview-client-jetpack

JetPack -> Modifiers -> Scroll: Modifier.onPreRotaryScrollEvent( onPreRotaryScrollEvent: (RotaryScrollEvent) -> Boolean )

Open
#304 0 comments 0 reactions 1 assignee Claimed by @nelson-glauber View on GitHub
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).onPreRotaryScrollEvent(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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.