Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3018] Table view cells need to be cleaned up before reuse

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2017-06-07T21:25:33.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsiOS
Labelstbs-1.8.0
ReporterStephen Tramer
AssigneeIngo Muschenetz
Created2011-04-15T03:34:53.000+0000
Updated2017-06-07T21:25:33.000+0000

Description

We need to resize table view cells in -[TiUITableViewCell prepareForReuse] to get the maximum efficiency out of reuse of cells; this includes resizing contents, making sure dropped views are "properly" deallocated by their proxies, and so forth.

Right now there's a slap patch which resizes table cells to a "sensible" size before reuse, but exactly what constitutes a "sensible" size should be determined by the tableview row (for example, based on the row's layout, possibly what kinds of views it contains, is it auto, etc.)

Comments

  1. Stephen Tramer 2011-07-27

    Fairly sure that this has been resolved as a fix to another bug. Otherwise, can't be resolved until after layout fixes, probably.

JSON Source