I want to achieve something like this,
There a list screen. By clicking on a list item it navigates to details screen. By clicking a button in details1 screen another screen (details2) is opened.
I want to disable caching (force refresh the view) when navigating forward and show cached view when navigating back.
If I set cache:false for “detail1” state in app.js detail1 screen is reloaded even when going back from detail2 screen to detail1.
If I set cache:true for “detail1” state in app.js detail1 screen does not reload every-time navigate from list screen to detail1 screen.
How can I remove cached detail1 screen when going back to list screen from detail1 screen?
How can I force reload detail1 screen everytime I go to detail1 screen from list screen?
Please HELP ME.
Thanks in advance.