I need the bottom sheet to stop at two positions. I have the following code for Bottom Sheet.
Hope here you will find a solution
https://www.androidhive.info/2017/12/android-working-with-bottom-sheet/
and change ScrollView
with NestedScrollView
p.s. Actually there's too mush code there
I don't know if this will be a solution to your problem, but I fixed quite a bit of scroll issues in a BottomSheet by replacing the ScrollView in the BottomSheet with a NestedScrollView.
This is what worked for me,
Set a Nested Scrollview as the parent
Make recycler view height wrap_content