目的是用来不在 UI 线程中绘制。
创建流程:
1.extends surfaceview implements surfaceholder.callback(This subclass is an interface that will notify you with information about the underlying Surface
, such as when it is created, changed, or destroyed. )
2.getHolder()
3,holder.addCallBack()