Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.