On Jun 13, 2:51 am, droidful
Any further suggestions?
why do you use AsyncTask for animations?
why not something that extends Animation?
pskink
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi pskink. I initially used Animations by setting dynamically
configured animations on the views I wanted to move around and then
starting the animations. The problem I found was that in the case
where part of the view is outside the display area as it animates back
into the display area the part
Ok, looks like I might be being a noob. I might be able to do
something with getTransformation. Ill look into it.
--
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
droidful wrote:
Ok, looks like I might be being a noob. I might be able to do
something with getTransformation. Ill look into it.
yes, this is a method where you implement your animation, you can
change supplied Transformation (matrix/alpha) or whatever else you
want
pskink
--
You received
Thanks skink, works a treat. I extended Animation and applied my
animations in the applyTransformation method (without calling the
super). Basically the code I already had just slotted straight in.
Cheers!
--
You received this message because you are subscribed to the Google
Groups Android
On Jun 13, 6:15 am, droidful austral...@gmail.com wrote:
Thanks skink, works a treat. I extended Animation and applied my
animations in the applyTransformation method (without calling the
super). Basically the code I already had just slotted straight in.
Cheers!
yes, applyTransformation,
Well i overrode getTransformation to handle completion and cancellation so
no probs! Interestingly the UI now updates much smoother, i must check the
android source to see what they are doing. Anyway, yeah, AsyncTask just
didnt feel right, thanks again for pointing me in the right direction
--
I changed the logic of the asyncTask to be based on time rather than
point position, at least now I dont have a sleep but it would probably
hammer the UI thread. But I guess thats what I want to get smooth
animation. Should this be in the beginners thread? Anyway here is the
new pseudo-code:
8 matches
Mail list logo