There are several components. Root, and not how many pages. Moving to another page is done using
this.navCtrl.push(CityPage); I need from each page to memorize the selected item. How can I create a global variable for this?
I have only ideas, or add everything to the local repository. Or transfer to each component new data so
this.navCtrl.push(CityPage, params[]); Are these solutions normal? And how can this be implemented through a global variable