Problem
Load 6 rows and display 6 same images took 6-8 seconds - it is too slow.
Same test in Titanium 1.4.2 took only 1-2 seconds. It is faster by 5X compared with 1.5.0!
Test case
var data = [];
for (var i = 0; i < 20; i++) {
var row = Ti.UI.createTableViewRow({
height: '70',
hasChild: true
});
var img = Ti.UI.createImageView({
image: 'http://lig.cn/prd_imgs/f/b/fb2df843d08ac0474c799daf0cbc2409_60x60.jpg',
height: 60,
width: 60,
left: 5,
top: 5
});
row.add(img);
data.push(row);
}
var tableview = Ti.UI.createTableView({
data:data
});
Ti.UI.currentWindow.add(tableview);
Assigning to Don for triage.
Tested on a Samsung Galaxy S2 using TiSDK 2.2.0v20120821095711, unable to reproduce the issue. Images seem to load-in just fine, only takes 1-2 seconds. Ticket marked as resolved.
Closing ticket as the issue cannot be reproduced and due to the above comments.