onViewRestored

open override fun onViewRestored()

Called when the opengl thread created a new surface and after the creation of the native view. Use it to restore the view state.