lukasyno Posted July 2, 2013 Share Posted July 2, 2013 Hello.I create mobile app and have question.I have blinds animation (animation drawing on canvas in fullscreen) when user change view.Which way is beter for performance: 1. in main loop update BlindManagera when need ?if (BlindManager.getInstance().needUpdate)BlindManager.getInstance().update(); 2. Create new requestAnimationFrame for update render method and when animation is done just usecancelAnimationFrame(ID);?Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.