I need the bottom sheet to stop at two positions. I have the following code for Bottom Sheet.
This is what worked for me,
Set a Nested Scrollview as the parent
Make recycler view height wrap_content