<Alloy>
<Window>
<ListView id="listView" defaultItemTemplate="videoTemplate" separatorHeight="4">
<Templates>
<ItemTemplate name="videoTemplate">
<View id="itemContainer" bindId="containerMain" height="600" width="900">
<ImageView id="imgVideo" bindId="imgVideo" height="600" width="900" ></ImageView>
</View>
</ItemTemplate>
</Templates>
<ListSection>
<HeaderView>
<View backgroundColor="green" height="Ti.UI.SIZE">
<Label id="lblHeader" left="10" top="3" bottom="3">Testing</Label>
</View>
</HeaderView>
<FooterView>
<View backgroundColor="green" height="6"></View>
</FooterView>
</ListSection>
</ListView>
</Window>
</Alloy>
var loadData = function(e) {
var listItems = [];
for (var i = 0; i < 100; i++) {
listItems.push({
imgVideo : {image : "/images/Default.png"}
});
}
$.listView.sections[0].appendItems(listItems);
};
loadData();
$.index.open();
I am creating listing in listview and its working fine in android as expected.
When I run iOS, it shows misbehaviour in rendering listview. it shows only one view bigger as same as given height and others are renders smaller with equal height.
when I scroll down it maximise view once to given height one by one which is scrolling currently.
It should be remain same when It maximised but when I scroll in reverse direction then it shows all scrolled control with same size again.
when I click at any row then it expand to given height but after scroll out of the screen it fixed to default height.
I used inbuilt image.
Hello All, is any update available in next week for this issue?
Test Case :
PR: https://github.com/appcelerator/titanium_mobile/pull/8937
Verified fix in SDK Version 6.2.0.v20170808135421 and SDK Version 7.0.0.v20170808071205. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/8937