var listView = Ti.UI.createListView();
for (i=0; i<10; i++) {
var section = Ti.UI.createListSection({ headerTitle: 'Section '+i });
section.setItems([
{ properties: { title: 'Title '+i }, template: Ti.UI.LIST_ITEM_TEMPLATE_DEFAULT},
{ properties: { title: 'Title '+(i+1), image: 'KS_nav_views.png' }, template: Ti.UI.LIST_ITEM_TEMPLATE_DEFAULT },
{ properties: { title: 'Title '+(i+2), image: 'KS_nav_ui.png' }, template: Ti.UI.LIST_ITEM_TEMPLATE_DEFAULT},
{ properties: { title: 'Title '+(i+3), image: 'http://www.catravelservices.com/management/hotels/pictures/Mawamba_lodge_nature.jpg'}, template: Ti.UI.LIST_ITEM_TEMPLATE_DEFAULT }
]);
listView.appendSection(section);
}
var win = Ti.UI.createWindow({
backgroundColor: 'white'
});
win.add(listView);
win.open();
Steps to reproduce:
1. Run the above code on Galaxy Nexux 4.0.4
2. When the window opens, the image "KS_nav_ui.png" in the Row 2 is missing sometimes.
PR: https://github.com/appcelerator/titanium_mobile/pull/3965
Image in row 2 is displayed everytime now. Environment used for verification - Titanium SDK: 3.1.0.v20130314163255 Titanium Studio:3.0.2.201302151605 Device: Samsung GALAXY Note (2.3.6) and Nexus 7 Android 4.1
added testcase in Test suite under Imageview.