I ran into a problem where I had a simple ListView in a BottomSheet and ListView had enough items to fill the screen and scroll even m
ListView
BottomSheet
Just set android:nestedScrollingEnabled to true inside your layout as ListView attribute or listView.setNestedScrollingEnabled(true) in java.
android:nestedScrollingEnabled
true
listView.setNestedScrollingEnabled(true)