This repository has been archived by the owner on Feb 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 200
Support drawer headings, separators, and account drawers #227
Comments
This would be really nice, I only implemented the minimum that I need for my use case, open to ideas for how to make the api more comprehensive and flexible! |
@sibelius Ok, thanks. That's a start for the custom rendering. Being able to implement a signin menu will require a little more, probably some level of ability to filter and wrap rendering of items. Something will need to be done about the |
#234 I've implemented a |
When #251 is merged I'm already ready to submit another pull request implementing support for the last things needed for the account drawer. |
Waiting with bated breath :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
DrawerNavigation
/DrawerNavigationItem
is extremely limited at the moment, it can only handle items.It can't handle headings or separators which are not touchable items in the {left, title, right} format.
Nor can it handle drawer layouts where a button in the header changes the drawer items, namely for signin/account purposes.
The best way to handle the first would probably be an alternative to
DrawerNavigationItem
that generically renders its children into the drawer.The second will either require more flexibility in the drawer rendering to allow custom rendering or explicit support for that Material style account drawer.
The text was updated successfully, but these errors were encountered: