onUpdateUI

protected open fun onUpdateUI(timestampMs: Long)

Override this function to be notified when the screen is about to be drawn

In this function you should update your UI for the coming draw

Parameters

timestampMs

the frame epoch time in milliseconds