ListView in BottomSheet

前端 未结 8 2295
梦毁少年i
梦毁少年i 2020-12-13 07:39

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

8条回答
  •  有刺的猬
    2020-12-13 07:51

    Just set android:nestedScrollingEnabled to true inside your layout as ListView attribute or listView.setNestedScrollingEnabled(true) in java.

提交回复
热议问题