Ion-refresh doesn't refresh content from mysql

I have this piece of code:

  loadmwfuthtft(){
  	let body = {
  		keyword : 'mwfuthtft'
  	};
  	this.postPvdr.postData(body, 'http:/siteaddress').subscribe(data => {
  		for(let mwfuthtftres of data.result){
  			this.mwfuthtftresed.push(mwfuthtftres);
  		}
  	});
  }

  doRefresh(refresher) {
  	let body = {
  		keyword : 'mwfuthtft'
  	};
  	this.postPvdr.postData(body, 'http://www.siteaddress').subscribe(data => {
  		for(let mwfuthtftres of data.result){
  			this.mwfuthtftresed.push(mwfuthtftres);
  		}
  		refresher.complete();
  	});
  }

i can get data in loadmwfuthtft function successfully but when i use same code for ion-refresh page content doesn’t update. What is the correct way to refresh page content?

Could you please show us the HTML too?

this is code which i used in html

	<ion-refresher (ionRefresh)="doRefresh($event)">
		<ion-refresher-content pullingIcon="arrow-dropdown" pullingText="Yenilemek İçin Bırakın" refreshingSpinner="Circles" refreshingText="Yenileniyor...">
		</ion-refresher-content>
	</ion-refresher>

If there are no errors logged in your response, I would suggest checking if you need to manually trigger change detection in angular, to ensure the view is updated.

There is a post here, that may help with your issue. Personally I have used the changeDetectorRef.detectChanges() method occasionally.

actually in console there is a error message like below;

[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.

Whilst not the best practice, try wrapping your refresher.complete() in a timeout.

setTimeout(() => { 
refresher.complete(), 
1000});