title: Android: Difference between onDraw() and surfaceCreated() within a SurfaceView?
body: <p>I have looked at several references. In most cases, the <code>onDraw()</code> method is included along with the required <code>surfaceCreated()</code> method in a SurfaceView. According to another post, <code>onDraw()</code> is the method that's called when the SurfaceView is drawn, and <code>surfaceCreated()</code> is the method that is called when the SurfaceView is created. What is the difference? What would go in each? Where would you start a separate thread to be used for the SurfaceView?</p>