I am binding items to a sap.m.List object inside an onBeforeRendering method.
I then call three console.log calls, as above:
- one for my List object;
- one on the property mAggregations.items;
- one on the method getItems()
The first console log shows the elements that I am looking for in mAggregations.items:
The second and third console logs show however empty arrays:
Can anyone explain what is going on here? I am trying to do some enrichment on the StandardListItems that are part of the List after the binding happens. (Attaching onPress methods, etc.) I am not clear why I can't seem to find them in the above example.