AudioRecorderView
AudioRecorderView copied to clipboard
On slide to cancel full screen size the button lost hist functionality
In the las try of this gif I slide to cancel. and later turns impossible to cancel the new recording
TO fixed I found on RecordCircleView.kt need to change the conditional at line 124. The value inside dipInt most be changed from 57f to 100f:
if (startTranslation - lockAnimatedTranslation >= context.dipInt(100f)) { sendButtonVisible = true return 2 }
Can demo reproduce this?
Can demo reproduce this? I cant share the code on use. But i can explain:
- On slide to cancel, if u take the action to the end of the left edge of the screen it freeze the btn. It will not work anymore if u don't reload the view. I found that changing the value in RecordCircleView from 57F to 100F it will not make that behavior again.
if u take the action to the end of the left edge of the screen it freeze the btn
Can not reproduce this action.
if (startTranslation - lockAnimatedTranslation >= context.dipInt(100f))
only increase the distance to change state from slidable to locked.
AFAIK it works on the demo, so if your use case has a problem, you can fork this project and do your own fix.