Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1193] Corrupted Table rows with different layouts and no class names

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:55:29.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsAndroid
Labelsandroid, defect, tableview
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-15T02:46:20.000+0000
Updated2011-04-17T01:55:29.000+0000

Description

If you have enough rows to scroll a table view, and one or more of the rows are different than the rest, those rows will cause redrawing issues because of incorrectly returned "convertViews" from TiTableView.getView()

Comments

  1. Marshall Culpepper 2011-04-15

    (from [5c5e9bbcbb00b856076b9723297322b01b148f25]) only cache row views with the same item by default, otherwise odd drawing behavior happens when two rows with no class name and different children are drawn. we still respect user's classname optimization hint, but only when it's explicitly set now. [#1193 state:resolved] http://github.com/appcelerator/titanium_mobile/commit/5c5e9bbcbb00b856076b9723297322b01b148f25"> http://github.com/appcelerator/titanium_mobile/commit/5c5e9bbcbb00b...

JSON Source