Hello, everyone in my app I’m using two-screen, when user clicks on dynamic card screen 2 will open then when user back press I want to reopen screen 1 without loading data.
I tried this method but not working every time when I back press it’ll loading images again.
A better idea is to store dynamic data on local storage (tinyDb, local storage) then whenever you reopen the previous screen then the data don’t need to be loaded..
Switching screens correctly means not opening more than one instance of a screen. If you use screen1 as your “base” you can open other screens from it and go back to it without any problem.
@rvbanna420 I can’t understand why you put Dynamic card view click and screen2 back press are in same screen..ok I again recommended you when screen2 back press don’t open another screen(screen1)put if else condition if yes then close screen.