On 11 Lut, 06:08, momo <[email protected]> wrote:
> thanks for the reply.  you'd suggest just using sendMessageDelayed?  Would
> you call each interval as a reaction in handleMessage, or just send a
> batach of delayedMessages at once with the delay incremented?  Would you
> expect the performance gains to be significant enough to compare to the
> built-in Animation effects, or is that not realistic?
>
> thanks again

sendEmptyMessageDelayed(int what, long delayMillis) is even better for
your purpose i think

and yes you should send one message per animation "frame" in
handleMessage

alternatively you could extend android.view.animation.Animation and
override applyTransformation (float interpolatedTime, Transformation
t) method and use it together with getTransformation (long
currentTime, Transformation outTransformation), see how it's done in
ViewGroup.java in drawChild method

pskink

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to