canvas - Alternative to android.graphics.Path? -


i drawing path on canvas based on action move, user drags screen i’m triggering

path.lineto(x,y)

and in ondraw method of canvas i'm drawing using

canvas.drawpath(path, paint);

after 20 minutes of continuous playing this, app hangs, , cpu load spikes high , app crashes. in real life deployment of app there need of tracking two-three hours.

is there alternative path? or solution can reduce cpu load?


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -