Hi all,
I know that I can pass data between View Properties of any Views when using the action Go to View. However, when the user navigates via the tab bar (which doesn’t expose any workflow or actions), data doesn’t get passed between views.
For example: I’m building an app containing listings, and 2 of my views (Home + Map) let the user interact with those listings. To reduce workload usage, I am fetching all listings once at app load on a splash screen, and then passing that data to the Home view (the first screen the user will see). Now, if they then navigate to the Map via the tab bar, I want to pass the pre-loaded list of listings to the Map view.
Solutions I’ve tired:
- Putting a custom state on a reusable element (the old web app cheat) > doesn’t work.
- Plugins that promise global states > don’t work in native mobile.
The only other possible solution I can think of is removing the tab bar and “building my own tab bar” from scratch, which would allow me to pass data via workflows. That feels like a major cheat though, and would likely get messy.
The alternative (loading the data a second time) is not an option in my case.
Am I missing a feature here? Or can anyone think of another solution?
Thanks in advance.