[android-developers] Unexpected Canvas Behavior when using Threads and supporting Methods
Hi guys,
I'm trying to animate a path, on a canvas, using a thread routine.
I'm drawing/animating a pentagon over and over so I decided to put it
into a method, passing canvas to the method. Every time I draw a
pentagon, using this method, it makes everything else vanish. The
method works perfectly without threading and other stuff appears as
expected when this method isn't used. I tried returning the canvas
without success.
Has any one else run into this? Do I need to forget having a
supporting method and just do everything in onDraw?
Thanks.
Chris
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home