$ionicView.enter strange behavior with $cordovaSpinnerDialog


#1

Hi, i have a strange problem.
Right now i’m using $cordovaSpinnerDialog in every tap on android. So my backbutton have a $cordovaSpinnerDialog.show().
When i land on a non-cached view i hide() the spinner, and it’s working fine.

The problem appear only on a cached view. I listen at $ionicView.enter event and then i try to hide my spinner, but it doesn’t work.
The event is called and the hide() too, but the spinner doesn’t disappear. I can’t manage to make te spinner disappear in any way.

pls, help.
thank you


#2

Solved this with the $ionicView.afterEnter event