FioriUI5

Factory function in SAP UI5

This video tutorial explains how to make use of Factory Function in the SAP UI5 Framework

In Aggregation binding, the template that is provided for the binding is replicated for all the items. If you find a specific scenario where you need to have a different template for different items then you can make use of factory function.

Comment here