https://kotlinlang.org logo
s

Stylianos Gakis

09/17/2021, 8:20 AM
What is the current state of doing the equivalent of
.setHapticClickListener
in compose?
LocalHapticFeedback.current
only provides us with
performHapticFeedback
which accepts HapticFeedbackType which only has
LongPress
and
TextHandleMove
alternatives. How would I do a simple click haptic feedback without needing to get access to the
VIBRATOR_SERVICE
on every single click?