Replies: 4 comments 2 replies
-
Hey @saket! This is something I'm quite interested in exploring. I tried to implement this using jetpack navigation (in a different project), but hit some problems due to restrictions in Google's API. I had planned to introduce these changes into Appyx. I will take a look this weekend, and figure out how much effort it would be. It would also be nice to have for foldables as well! |
Beta Was this translation helpful? Give feedback.
-
I made pretty decent progress over the weekend on this! Hopefully once I tidy a few things up I will submit a proposal PR later this week, or early next week. The WIP API I am currently looking at is (forgive the slightly terrible pseudo code):
An implementation of the When there is only one backstack visible, it would show all the |
Beta Was this translation helpful? Give feedback.
-
I don't think we should change underlying NavModel for that case. I haven't tried to build anything myself but this is what we can do at the moment:
|
Beta Was this translation helpful? Give feedback.
-
Oh, that's really cool! I'll try implementing that and see how it goes. I wasn't proposing modifying an existing NavModel, but creating a new one. This approach could be more flexible however as you could have a different NavModel type for each column. |
Beta Was this translation helpful? Give feedback.
-
Does appyx offer any advice for building navigation systems for resizable apps that can switch between phone and tablet layouts while retaining its back stack?
I'm imagining a two-pane layout in tablet mode. When navigating to any screen, I'd like to open it in one of the two panes depending on some condition. When the app is resized to phone mode, I'd like to move all screens to a single pane.
Beta Was this translation helpful? Give feedback.
All reactions