Android Draw SurfaceView In Thread Example

SurfaceView is a view with a surface. It is a sub-class of the class android.view.View. So it is similar to other views, it can receive user input on the screen, it also inherits all view life cycle callback functions.