No, it is not possible to use both combinedClickable
and pointerInput
at the same time in Jetpack Compose as both of them are intended to be used for handling touch events and clicks. It is recommended to use one of them based on the specific use case.
combinedClickable
is used to handle click events on a Composable, while pointerInput
provides a low-level API for handling touch events and is useful when building custom gestures or interactions.
Using both of them together can lead to conflicts and unpredictable behavior, so it's best to use them separately depending on the use case.
Asked: 2022-05-25 11:00:00 +0000
Seen: 1 times
Last updated: Feb 22 '22