Join Slack
Powered by
Hey, have you an idea how to reduce the delay for ...
# compose
l
Louis
08/30/2022, 2:53 PM
Hey, have you an idea how to reduce the delay for triggering a long press detected by compose ? Ideally i would like it to be 100ms or something like that. I tried using combinedClickable and detectTapGestures but with no really success.
a
Albert Chang
08/30/2022, 3:07 PM
Provide your own
LocalViewConfiguration
and override
longPressTimeoutMillis
.
l
Louis
08/30/2022, 3:15 PM
Yeah, thanks this works 🙏
3
Views
Open in Slack
Previous
Next