On the home page of my app, I navigate to another page using:
When I click the “back” button on Page2 to go back to the home page, and then navigate back to Page2, I notice that
ionViewDidLoad() is called again, meaning Page2 wasn’t in the cache anymore.
I guess this is because Page2 was on top of the stack, and is then removed from the stack.
Is there a way to keep the current state of the page? On Page2, there’s a progress bar and I want the user to be able to see the progress when he uses the back button and navigates back to the page. The progress bar can’t be reset.