Hi, i have been trying to understand exactly how the onDraw method works. Does it have some sort of listener, or is it only called when the programmer calls it?
I am drawing different objects with my program. I put all the paths in an array, and at the end of the onDraw method, i clear the array. This does not work properly.
Also, right now, the only way i know to clear the screen is to repaint the background. Does my program take a performace hit due to the fact that my original drawings are still there (just painted over) or does it not matter at all?