Are there plans to support two drawers in one layo...
# compose
v
Are there plans to support two drawers in one layout? I see that
ModalDrawerLayout
supports mainly left to right (Unless RTL layout direction), but that is only for one drawer. If I want to have two drawers (Like Discord) then should I try to wrangle my own using ModalDrawerLayout as a base?
j
Did you check the material design page? The people were so nice to implement the material design components, so if a double drawer is not in there then I guess they will have little reason to make such a double drawer. But luckily, the code is open source and (hopefully) easy to understand, so nothing should stop you from creating your own implementation of it
v
Yup I did, just wanted to throw it out there. The source code is well documented so I agree it’ll probably be better to create a custom one for this use case.
c
Have you tried using two modal drawer layouts, nested? That would be might first stab at it for a one-off custom one