For data binding in table view, I can bind the collection to the table and apply single model properties to different rows as follows :
<Alloy> <Collection src="info" id="myRec" instance="true"/> <Window> <TableView dataCollection="$.myRec"> <TableViewRow title="{title}" header="s1"/> <TableViewRow title="{subtitle}" header="s2"/> </TableView> </Window> </Alloy>How can I do the same using listView? The following snippet that I found does not allow me to apply single model properties to different listItems
<Alloy> <Collection src="info" id="myRec" instance="true"/> <Window> <ListView id="list" defaultItemTemplate="title"> <Templates> <ItemTemplate name="fullItem" height="70"> <ImageView bindId="image" class="image"/> <Label bindId="title" class="title text-and-image"/> <Label bindId="subtitle" class="subtitle text-and-image"/> </ItemTemplate> </Templates> <ListSection id="section" dataCollection="$.info" dataTransform="doTransform" headerTitle="ss1"> <ListItem template="{template}" title:text="{title}" subtitle:text="{subtitle}" image:image="{image}"/> </ListSection> </ListView> </Window> </Alloy>any idea?