I am working on Teams power app.
I have a first screen (consider as a home screen of the app) when the app opens
It has a gallery which gets data loaded by a collection currently having 5200 records, which takes around 20 seconds time to upload all the data. Till here All is working fine.
The annoying is that when user navigate on another screen and come back to this screen, he has wait again as the collection is getting loaded.
I suspect that I am calling the collection at wrong place. If I would have called the collection at startup or at a place where it remains the collection loaded, then user don't need to wait again during the revisit to the screen.
Please guide which the right place to let the collection happens which can be used globally till the app is closed.