onResize

abstract fun onResize(width: Int, height: Int)(source)

Called when the surface size changes.

Parameters

width

New width in pixels.

height

New height in pixels.