Question

i am loading data from server and then in the next scene i am displaying that data in a list. But when i upload some new data in that case i need to restart my app from main.lua to show the new posts to users. I just have tried the following code:

storyboard.gotoScene("main","fromRight");
Was it helpful?

Solution

You can reload/restart your scene using this:

storyboard.reloadScene()

This Link can probably help you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top