I need to be able to selectively invalidate multiple (about 20)
rectangles on the screen for performance reasons, so tried the
following in my onDraw method:
Vector<Rect> myRects = new Vector<Rect>();
// ... add some Rects to myRects
for (Rect r : myRects) {
invalidate(r);
}
However this seems to invalidates a union of all the Rect's, forming
one large rectangle which covers all of small ones I'm trying to
invalidate.
How can one invalidate multiple areas on the screen, and only those
areas?
--
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