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
ScrollView
NestedScrollView
p.s. Actually there's too mush code there