[TIMOB-28096] iOS: Critical performance when using Ti.UI.SIZE in a custom ListView template
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | engSchedule |
Reporter | Hans Knöchel |
Assignee | Unknown |
Created | 2020-08-25T12:08:33.000+0000 |
Updated | 2020-09-08T19:04:17.000+0000 |
Description
When using
Ti.UI.SIZE
for the height
of a custom ListView item template, drawing the list takes up to 15x longer than using a fixed height. Obviously, calculating on the fly is expensive, but iOS offers an .automatic
height attribute for the UITableViewCell
which should be reused instead of calculating the height manually.
No comments