How should I call the onDraw() method of an Android view 30 times per second
Posted
by Nathan
on Stack Overflow
See other posts from Stack Overflow
or by Nathan
Published on 2010-01-30T23:19:03Z
Indexed on
2010/04/09
6:03 UTC
Read the original article
Hit count: 431
android
|processing
For Android, I have a custom view which I fill up with primitive shapes in the onDraw() method.
Coming from a Processing background, I expected the draw method to be called automatically 30 times per second, but its clear that that's not how android views work.
So how should I go about calling this method 30 times per second?
© Stack Overflow or respective owner