Drawer Navigation
dimoreira opened this issue · 2 comments
dimoreira commented
Hi @ifours.
How do you make your menu list buttons navigate to other scenes? I didn't found in your code where the list row press is triggering the navigation (I only found the closeDrawer
action).
ifours commented
Hi,
For now, they trigger only closeDrawer
action (list items are hardcoded, see mock_data\menu_data_list.json
)
dimoreira commented
Thanks.
I just resolved my issue using refs for the Drawer and Navigator and then passed a navigate method from the base app component to the Menu component at Drawer.
Each menu list item can call and navigate to a particular scene.