[TIMOB-2473] Android: UI - remote imageView in tableView load 5X slower than earlier Titanium versions
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-08-23T14:18:06.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | lansea90 |
Assignee | Neeraj Gupta |
Created | 2011-04-15T03:20:43.000+0000 |
Updated | 2017-03-21T22:32:19.000+0000 |
Description
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);
Comments
- Stephen Tramer 2011-04-15
Assigning to Don for triage.
- Junaid Younus 2012-08-23 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.
- Lee Morris 2017-03-21 Closing ticket as the issue cannot be reproduced and due to the above comments.