title: Ionic 4 and Angular 2 ( IOS swipe back gesture will trigger the NgOnInit&&ionViewWillEnter&& ionViewDidEnter)
body: <pre><code> ionViewWillEnter(){
        this.getVoucher();
  }
  
     ionViewDidEnter(){
        this.getVoucher();
  }
  
     ngOnInit(){
        this.getVoucher();
  }
  
  
    public async slidePage(navigate){
  
       let options : NativeTransitionOptions = {
        direction:'left',
        duration: 400,
        slowdownfactor: -1,
        iosdelay: 50,
        androiddelay: 50,
        fixedPixelsBottom:0,
        fixedPixelsTop:0
  
       }
      this.nativePageTransitions.slide(options);
      this.navCtrl.navigateRoot(navigate);
    }
  
    public async goBack(navigate){
  
        let options : NativeTransitionOptions = {
          direction: 'right',
          duration: 400,
          slowdownfactor:-1,
          iosdelay:50,
          androiddelay: 150
        }
       this.nativePageTransitions.slide(options);
       this.location.back();
  
    }
  </code></pre>
  <p>When the swipe back gesture trigger, back to the home page. How to prevent it from refresh the data and show the loaded data directly? For example, home -&gt; voucher page, and from voucher page back to home page ( do not refresh homepage data)</p>