OData Binding
onInit : function () {
// set explored app's demo model on this sample
var oModel = sap.ui.model.json.JSONModel("http://services.odata.org//V3/Northwind/Northwind.svc/");
this.getView().setModel(oModel);
}
});
TO Bind data in List view:
<List
headerText="Products"
items="{/Products}" >
<StandardListItem
title="{Name}"
counter="{Quantity}"/>
</List>