Delete cache on view navigation


#1

Hello,
I need to do this.nav.push to appoint to the same controller but with diferent params, I need to destroy the view for reload It again with new data.

Has any way to do this?

Regards


#2

Any update here? I only new this.nav.push to same page but with different data arguments.

Regards


#3

You can use the setPages method to set the entire stack with whatever arguments you need: http://ionicframework.com/docs/v2/api/components/nav/NavController/#setPages


#4

Hi Beck,
Thanks for your answer, but not. I’m in ChannelController and I need to go to the same controller (ChannelController), but destroying view and generating again with other variables.

Regards.


#5

Video of issue: https://webm.lol/v/1z3fe71aeb
When slide video execute pan, pan function is:

this.nav.popTo(Channel, {
canal: this.canalTap
});

canalTap have exact object of initial view.


#6

Another video: https://webm.lol/v/1z11138bbc

Regards