0

I have progress indicator that keeps track of some process. When the application moves from the background to the foreground I can see the progress animation jumping from its old position to the current value. I don't quite like it, so I was wondering if it was possible to update the progress to its current state just before the app becomes active?

irkinosor
  • 766
  • 12
  • 26

1 Answers1

0

I know this is late but as no one else has said it I'll chime in.

Probably what you're seeing is this situation is the snapshot of your app that was taken when it went to the background (at the old progress) being displayed while it's being brought back to the foreground. Then it starts rendering your app again and snaps to the new progress.

What you could do is not jump straight to your new progress but animate it once the app has come to the foreground, then it would be a smoother transition.

CMash
  • 1,987
  • 22
  • 35