One easy thing you could do is early out on the shadow pass. Draw gets
called twice, one for the shadow layer and then again for the "real"
drawing. So unless you're doing something with the shadow pass you can exit
early:

draw(...., boolean shadow)
{
super.draw(..., shadow);

if (shadow)
return;

....
}

 mapView.postInvalidateDelayed(6000);


Also, why are you doing this? Invalidate is used to force a re-draw ... why
would you do this in the draw method?

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
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