Reorderable icon indicating copy to clipboard operation
Reorderable copied to clipboard

Switch README and demo app to LocalHapticFeedback when Compose 1.8 is stable

Open TJYSunset opened this issue 1 year ago • 1 comments

I almost defined my own compatibility constants to solve the API level warning (the constants used are only available in API level 34+). HapticFeedbackConstantsCompat is part of androidx.core:core, which should be included in the default Jetpack Compose template generated by Android Studio.

Also it might be a good idea to replace the haptics call with LocalHapticFeedback after Compose 1.8 becomes stable?

TJYSunset avatar Dec 17 '24 20:12 TJYSunset

Thanks for bringing this up! Updated the README and the demo app. I'll leave this issue open to remind me to update to LocalHapticFeedback when 1.8 is out.

Calvin-LL avatar Dec 17 '24 21:12 Calvin-LL

1.8 is stable!

mak1nt0sh avatar May 20 '25 05:05 mak1nt0sh