It provide a separate skin based on 4 states (normal,loading,error,loaded). The Default skin is ModuleViewLoaderSkin
the ModuleViewLoader component benefits from new features such as external Loading Policy strategies.
The lib provides 2 Load Policy:
- BasicLoadPolicy: load module on addedToStage and unload on removeFromStage
- LazyModuleLoadPolicy: load module on demand based on the moduleId property of the message. As soon as a message with a corresponding moduleId is dispatched, the module is loading itself automatically.
* Refactoring the SDK3 ViewLoader to reflect the same features as the new Spark ViewModuleLoader except that the SDK3 ViewLoader do not include states to display different views as the Spark component does.
* Refactoring the ModuleTest sample project to use the new features/components