SurfaceView receive multi surfaceChanged event problem
SurfaceView receive multi surfaceChanged event problem.
Have get a problem: receive multi surfaceChanged callback with SurfaceView.
This problem have trouble us for a long time. finally, i found the reason is:
.addCallback(mCallBack);
This method can be call for many times. so you must call:
removeCallback(mCallBack);
Hope this can be help for you.