[TIMOB-2430] adding labels to tableviewrow dynmaically fails: redraw bug
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:59:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M07 |
Components | Android |
Labels | android, dynamic, label, regression, release-1.6.0, tableview, tableviewrow |
Reporter | Robby |
Assignee | Don Thorp |
Created | 2011-04-15T03:19:31.000+0000 |
Updated | 2011-04-17T01:59:05.000+0000 |
Description
Similar to #2208, adding a label dynamically to a TableViewRow does not show up. One has to refresh the entire table (via setData([]); setData(tableRowData);) to see the added label.
Given both of these tickets, there is probably a problem with just about anything added to a tableview row dynamically showing up without a full refresh.
Code worked in 1.4.0. From #2208 seems like it was a 1.5.x regression.
Robby, please provide a quick sample if you're going to add tickets directly and also provide the information from the version.txt file in the build of the mobilesdk you're using.
Hey Don,
Here's the code example. This shows off this bug, as well as the one in #2208.
Version.txt info of my 1.5 build: version=1.5.0 timestamp=11/24/10 04:54 githash=c0aff27
This code works perfectly on this 1.4.2 build: version=1.4.2 timestamp=10/11/10 19:02 githash=425bc37
(from [8aa0ef980e344bddcf4e5f60eda9e43a0a14cd17]) update a TableViewRow's view when a child is added or removed [#2430 state:fixed-in-qa] https://github.com/appcelerator/titanium_mobile/commit/8aa0ef980e344bddcf4e5f60eda9e43a0a14cd17"> https://github.com/appcelerator/titanium_mobile/commit/8aa0ef980e34...
verified with test case from Robby