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

JetPack -> Modifiers -> Other: Modifier.motionEventSpy(watcher: (motionEvent: MotionEvent) -> Unit)

Open
#389 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).motionEventSpy(kotlin.Function1)

Calls [watcher](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/pointer/package-summary#(androidx.compose.ui.Modifier).motionEventSpy(kotlin.Function1)) with each [MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html) that the layout area or any child [pointerInput](https://developer.android.com/reference/kotlin/androidx/compose/ui/input/pointer/package-summary#(androidx.compose.ui.Modifier).pointerInput(kotlin.coroutines.SuspendFunction1)) receives.

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.