-
public interface UiHelper.RendererCallbackInterface used to know when the native surface is created, destroyed or resized.
-
-
Method Summary
Modifier and Type Method Description abstract voidonNativeWindowChanged(Surface surface)Called when the underlying native window has changed. abstract voidonDetachedFromSurface()Called when the surface is going away. abstract voidonResized(int width, int height)Called when the underlying native window has been resized. -
-
Method Detail
-
onNativeWindowChanged
abstract void onNativeWindowChanged(Surface surface)
Called when the underlying native window has changed.
-
onDetachedFromSurface
abstract void onDetachedFromSurface()
Called when the surface is going away. After this call
isReadyToRender()returns false. You MUST have stopped drawing when returning.This is called from detach() or if the surface disappears on its own.
-
onResized
abstract void onResized(int width, int height)
Called when the underlying native window has been resized.
-
-
-
-