android BottomSheet how to collapse when clicked outside?
<p>I have implemented bottomsheet behavior with NestedScrollView. And was wondering if it is possible to hide the bottomsheet view when touched outside.</p>