Hello,
I face a problem with a sap.m.list and the items in the aggregation.
We use NEPTUNE planet8 to develop UI5 apps (dont ask me why…), so i'm not able to build apps by xmlview so I generate a sap.m.list in onInit() using a factory which can let me change the binding path to my model for one sap.m.select depending on a key of a sap.m.segmentedButton, after doing oList.bindItems(...) i bound my model to the sap.m.list.
These control are integrated in the items aggregation and binding to my model (2 way).
Everything is ok, it works, but when i press one segmentedButton, the aggregation tems are completely rebuild and i don"t know why.The factory method is executed for each items.
I think that: as my model is updated with a new value, all the aggregation items is rebuild generating new clones. Is there Something to do to keep the existing items or its normal ? (it's the first list/table i build with two way binding).
I read some blog/post about the parameters templateShareable but i'm not completely sure.
If you need some details, i can edit post monday with code/screenshot.
Thank you