In Ionic 3 I would listen to the viewDidEnter in a page sub-component by subscribing to navCtrl in my component constructor as follows:
this.navCtrl.viewDidEnter.subscribe = (view) => {
if(((view.component === ActionPage) {
// Do something
}
};
this.navCtrl.viewDidEnter.subscribe('view:did-enter', this.subViewDidEnter);
But in Ionic 4 I can no longer access viewDidEnter. Does anyone one know how would I do this now?