ViewGroup -> dispatchDraw Resource Problem

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

ViewGroup -> dispatchDraw Resource Problem

Postby Kamal » Fri Jun 05, 2009 11:16 am

Hi All,

I am using dispatchDraw(Canvas canvas) method of ViewGroup class to draw path on Map.

The problem is, I have to draw all the points again and join them once dispatchDraw is called. This is fine is i have few points(10-15), but my application requires to have points more than 4000.

So, if i redraw all the points back, the app almost hangs(since it has to plot all the points again).

Can you please suggest any alternative or better way than this to plot and join the points where i need not draw the points again.....

Thanks....
Kamal
Junior Developer
Junior Developer
 
Posts: 23
Joined: Wed May 27, 2009 11:15 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 7 guests