My home screen has an animation. On Android, if I press the Back button and kill the app and open it again, it will crash. I noticed that this is due to my animation. To fix this, I handled OnDisappearing
to stop the animation like so grid.AbortAnimation(animationName)
. This seems to work, but it doesn't work all the time. If I kill the app and immediately run it again, it will still crash. Looks like Android takes its time.
Is there a proper way to abort the animation? - otherwise I'm thinking of removing it since this is an annoying bug.