[SOLVED] NavController setRootPage loads the view multiple times



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

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


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


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