Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28096] iOS: Critical performance when using Ti.UI.SIZE in a custom ListView template

GitHub Issuen/a
TypeBug
PriorityCritical
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
LabelsengSchedule
ReporterHans Knöchel
AssigneeUnknown
Created2020-08-25T12:08:33.000+0000
Updated2020-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.

Comments

No comments

JSON Source