Take a look at this tutorial. It helped me to do the same thing as you
want to do (may be  a little different, in my case, I wanted to redraw
the shapes everytime).
http://www.anddev.org/the_pizza_timer_-_threading-drawing_on_canvas-t126.html

_Hid

On Dec 29, 4:37 pm, hollowback <[email protected]> wrote:
> Hi, what is best way to create app in which I only need to draw simple
> lines through onTouchEvent?
> When i use invalidate everytime i draw any line, that erase lines i
> draw before. But if I use some List structure to store drawed lines it
> lose performance.
> Is there any simple way to do it?
>
> Thanks for reply

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