110111112113114115116117
/** * Register the progress listener with the asset manager */ public void register() { AssetManager manager = AssetManager.getAssetManager(); manager.addProgressListener(progressListener); }
118119120121122123124125
/** * Stop listener for events */ public void deactivate() { AssetManager manager = AssetManager.getAssetManager(); manager.removeProgressListener(progressListener); }