Beowulf
10/02/2023, 9:45 AMSwipeDismissableNavHost
does not have haptic feedback when the user navigates back (everything else (apps, settings, etc) have this feedback. The users are also complaining about the missing feedback, so I wanted to add it myself with the confirmStateChange
from rememberSwipeToDismissBoxState
, but what is the correct haptic feedback for the back navigation? Here (https://developer.android.com/reference/android/view/HapticFeedbackConstants) is e.g. no constant for back navigation listed.confirmStateChange
lambda has the disadvantage, that the feedback is performed when the drag is finished, instead of when the drag starts :/yschimke
10/05/2023, 8:30 AM