https://kotlinlang.org logo
c

chatterInDaSkull

09/19/2022, 6:13 PM
Why is there such limited supported for PlatformHapticFeedback while the constants exposed through android are many? Is it because android treats
LongPress
as just a click?
s

saket

09/19/2022, 7:43 PM
Probably for the best I'd say. The constants exposed by android were confusing to choose from.
c

chatterInDaSkull

09/19/2022, 8:09 PM
There were definitely a lot but I couldn’t find any explicit reasoning why compose chose to expose only two types. Thanks for chiming in though 🙂
3 Views