ExampleApp injects material factory to platform constructor.