Android SurfaceHolder.unlockCanvasAndPost() does not cause redraw

后端 未结 3 868
鱼传尺愫
鱼传尺愫 2021-02-15 07:02

I\'m implementing a fairly standard app with the Android sdk that involves drawing using the SurfaceView, SurfaceHolder, Callback setup.

In my main thread (UI thread) I

3条回答
  •  被撕碎了的回忆
    2021-02-15 07:47

    This is old, but I have a feeling the problem is there is no surfaceholder callback. He was trying to draw on the surface before the surface was created

提交回复
热议问题