How to re-load a previous view from current view when a back button is clicked from current view?

Hi there,

Say for example I have a todo list, and I edit an item on the list.

How can I reload the list when I press ?

or would you suggest to do this from the list controller.

any suggestions or ideas are welcome. I just need to refresh the list some how.

I’m suspecting that you are seeing some stale data in the view when you hit back?

The views in ionic are now cached by default, so as a total guess i’d try adding cache-view=‘false’ to the ion-view directive in your html, that way when you hit back the controller+view will be recreated from scratch and whatever code you’ve got to load items will be called again.


Your assumptions are correct, cache-view=‘false’ does the trick. Thanks for the tip.