How to not lose data on the screen when switching between different screens?

For example.

When I load some images from a database in screen1 and when I switch to screen2, then switch back to screen1, the data (images) begin loading once again from the database.

I want the images which are loaded already, to stay in its place even when switching between the screens.

Use TinyDB, I think this is the best solution for this type of problem

2 Likes

Just For Information,
If you want to transfer Data between screens use open screen with Start Value - input the data in value and to get that value in another screen use get value

1 Like

You can use tiny db to store the image and if you want to share values then there is block get value .