Hi, @leorjoseph you need to create present loading function,
// For present loading
presentLoading() {
this.loadingProgress = this.loadingCtrl.create({
content: 'Please wait...'
});
this.loadingProgress.present();
}
Now you have start loading on call this.networkProvider.updateChanges() function like this,
saveChanges() {
this.presentLoading();
this.networkProvider.updateChanges()
.then(res => {
this.loadingProgress.dismiss();
}).catch(err => {
this.loadingProgress.dismiss();
});
}
Thanks.