Is your feature request related to a problem? Please describe.
We have a use case where we’d like to be able to increase the speed required in order to fling the bottom sheet all the way from a fully expanded state to a hidden state (vs settling on a half expanded state).
Is your feature request related to a problem? Please describe. We have a use case where we’d like to be able to increase the speed required in order to fling the bottom sheet all the way from a fully expanded state to a hidden state (vs settling on a half expanded state).
Describe the solution you'd like Could the BottomSheetBehavior expose the threshold here: https://github.com/material-components/material-components-android/blob/master/lib/java/com/google/android/material/bottomsheet/BottomSheetBehavior.java#L189, perhaps as a property on the BottomSheetBehavior, and any other hardcoded constants that allow more flexibility?
That way we can customize as needed to meet our requirements. Thanks!
Describe alternatives you've considered Forking our own version of BottomSheetBehavior