how to stop the display()-thread

hello,

i am using an Animator to call my display loop.
now during the loading time i want to show a loading image and also to save cpu-time for the loading process itself, i dont want the display-loop to run all the time, so i would like to stop it until the loading has finished.

how could i do that?

thanks!

simple call animator.stop()
load your data…
animator.start()