fedorenkoalex / bottomsheetrecycler

BottomSheet Multiple RecyclerView
Apache License 2.0
85 stars 13 forks source link

how use this in BottomSheetDialogFragment? #3

Closed rasoulmiri closed 7 years ago

rasoulmiri commented 7 years ago

i need use this class extends from BottomSheetDialogFragment?

fedorenkoalex commented 7 years ago

Hi. Now this only for bottomsheet with views. So i think to use this with BottomSheetDialog you need a source of it and use my class BottomSheetBehaviorv2 instead BottomSheetBehavior inside BottomSheet Dialog. Maybe it will work... I will add possibility to use this with BottomSheetDialog bit later(maybe on Monday).

Thank you for report.

rasoulmiri commented 7 years ago

I'm waiting for you on Monday 👍

fedorenkoalex commented 7 years ago

Hi @rasoulmiri. I added some changes to code.

Maybe this is not the most correct way to solve this problem, but it works. You need add classes from .control package and design_bottom_sheet_fixed.xml to your project. And you need to use BottomSheetDialogv2 instead BottomSheetDialog for creating bottomsheet dialog.
More details can be found in MainActvitity.class (createDialogBtmSheet(); function).

rasoulmiri commented 7 years ago

Thank you very much, but it's very jumpy...