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.

猜你喜欢

转载自jonson.iteye.com/blog/2045844
今日推荐