libgdx/libgdx — pull request #127 by acoppes (2012-11-27 01:56:37+00:00)
Title: Fix for a bug when calling isPreview() inside the Engine constructor

It seems that isPreview() cant be called inside the Engine constructor since some stuff wasn't initialized yet. The pull request suggest another way by implementing an optional interface PreviewListener (not the best name I know) so if the listener implements it, then it is called by the Service after Engine was created.