Hi, I have a serious problem that i have spent several days with no result.
I am developing a map application. I have extended Overlay class and overidden draw() method. In draw() method, i have to draw thounds of lines. So it is very slow. To eliminate the performance problem I have also overridden onTouchEvent() method, so that drawing actually occurs only after the ACTION_UP event. But depending on the user's gesture, sometimes the screen continues to move after the ACTION_UP event, so draw() method is called again and again until the movement ends. So the drawing is erased. I need to be notified when the movement actually ends to draw at the right time. I would appreciate any help. -- 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

