addOnPaintListener

Add provided listener.

Parameters

listener

Code that gets executed after a frame was rendered.