I wrote a very simple game with some simple animations, but I noticed that when the phone checks emails or several other applications, the animations that update in my stream begin to behave slowly or intermittently.
This is a problem because the game mechanic requires some careful timing on the screen based on the animation. Therefore, if he starts to behave erratically, the game doesn’t actually work well - and it’s not very fun.
Is there any way to prevent this? Can my threads take precedence when they need to start?
source
share