<mvc:View
	controllerName="sap.m.sample.ListLoading.List"
	xmlns:l="sap.ui.layout"
	xmlns:mvc="sap.ui.core.mvc"
	xmlns="sap.m">
	<List
		growing="true"
		growingThreshold="10"
		busyIndicatorDelay="500"
		enableBusyIndicator="true"
		noDataText="No products available"
		items="{/ProductCollection}">
		<headerToolbar>
			<OverflowToolbar>
				<Title text="Products" level="H2" />
				<ToolbarSpacer />
				<Button
					icon="sap-icon://refresh"
					press="refreshDataFromBackend" />
			</OverflowToolbar>
		</headerToolbar>
		<StandardListItem
			title="{Name}"
			description="{ProductId}"
			icon="{ProductPicUrl}"
			iconDensityAware="false"
			iconInset="false" />
	</List>
</mvc:View>
