Tuesday, 1 June 2021

How to enable dragging on recyclerview inside BottomSheetDialogFragment?

There's a BottomSheetDialogFragment and working good vertically draging states on fragment layout and opening STATE_EXPANDED mode. There's a recyclerview inside it and dragging vertically works on the bottom sheet but it doesn't work on recyclerview because of scrolling event. How the bottom sheet dragging event to work instead of scroll event on recyclerview when reached top of list and still scrolling up for collapse the bottom sheet?

BottomSheetDialogFragment hierarchy: FragmentRootLinearLayout -> ...BottomLinearLayout... -> ViewPager2 -> RecyclerView



from How to enable dragging on recyclerview inside BottomSheetDialogFragment?

No comments:

Post a Comment