Hi,

I am trying to render a customized view which draws points on the
canvas whenever  they arrive from a remote device. Whenever a new
value is obtained - it gets passed into my customized view which draws
it on the canvas - ( The canvas should still show my previous points).
Now whenever i call invalidate() in my onDraw() method it clears all
my previous points. The application is supposed to work with a stream
of data and as such there are large number of points which are
generated and as such we dont want to store the points in an array and
reproduce them on the canvas- rather just get the new point draw it on
the canvas (the previous points should stay). Does anyone know how to
go about keeping all previous canvas objects intact while performing
invalidate?

Thanks

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to