It will work. Same logic. But you need to compile the app to see this in practice. It is not possible to test this scenario through the Thinkable Live app.
I found some problem if I use buttom tab navigator. Here is the link:
https://x.thunkable.com/copy/03708f6fc1a9d804d3eee3f04d0eb5e2
- Open the app with device online (don’t click second and third screen)
- Turn off the connection
- Click the second and third screen
- Go back to first screen
- Turn on the connection
- Click the second and third screen again
Why the second and third screen shows loading icon?
Do you have a data viewer layout in your second and third screen?
Yes
I am not getting the issue you are describing.
I get your issue! Do you have this code in your second and third screens?
If you do, then this is your issue:
When Data Viewer Layouts refresh, they show a loading icon to let the user know that they are loading the data. This process takes up to 5 seconds(annoyingly), and then displays the data. If you remove the ‘refresh’ block, it will not show the loading icon. There’s another possibility, though: sometimes, the data viewer list refreshes even when the ‘REFRESH’ block isn’t there. Either way is possible.
@codeswept
You are right on this but because part of the scenario is to disconnect the internet connection and when you open a screen the DVL will try to fetch available data.
This was not the case but there was a change during one of the updates making the DVL refreshes automatically when returning to the screen.
Thanks so much for this. I didn’t know about the change.