[SOLVED] NavController setRootPage loads the view multiple times


#1

Hi,

[SOLVED] Apparently, I am adding a listener/observer on NextPage and is stacking.

A simple question with NavController.
I noticed that whenever I call

this.navCtrl.setRoot(NextPage);

to go back and forth from one page to another, every time I call the page again, the constructor and

ionViewDidLoad()

is called more than once depending on how many times I redirect from the page. What am I doing wrong? Thanks.