[TIMOB-3018] Table view cells need to be cleaned up before reuse
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-06-07T21:25:33.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Backlog |
Components | iOS |
Labels | tbs-1.8.0 |
Reporter | Stephen Tramer |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:34:53.000+0000 |
Updated | 2017-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.)
Fairly sure that this has been resolved as a fix to another bug. Otherwise, can't be resolved until after layout fixes, probably.