setOnPaintListener
Remove existing listeners and replace with provided listener.
Parameters
listener
Code that gets executed after a frame was rendered.
Remove existing listeners and replace with provided listener.
Code that gets executed after a frame was rendered.