[TIMOB-2377] Android: Redraw issues after 3 row presses on TableView (Layout 2)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:58:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M04 |
Components | Android |
Labels | android, redraw, tableview |
Reporter | Thomas Huelbert |
Assignee | Don Thorp |
Created | 2011-04-15T03:18:14.000+0000 |
Updated | 2011-04-17T01:58:56.000+0000 |
Description
1.5.0.fb4b340. G2 (2.2) 2.1 emulator,1.6 G1
1.Sim, or device, any supported android sdk version
2.Base UI > Views > Table Views > Table View (Layout
2)
3.Tap an object on the row (img, calender, date etc)
4.repeat 3 or more times
results: the labels that report what values were tapped appeared garbled (see screen shot), and the line number associated with the user (Fred Smith X) has redraw issues as well.
Attachments
File | Date | Size |
---|---|---|
androidredraw.png | 2011-04-15T03:18:15.000+0000 | 47126 |
Also see http://developer.appcelerator.com/helpdesk/view/57131">Helpdesk 57131
(from [e18980e31ba5c0e061da3ababd711467471bffeb]) pre-seed a relatively large number of row types so we can avoid calling setAdapter to tell the ListView about new row types (which causes all kinds of memory / model havoc). added a new forceCreateView in TiViewProxy to simply assign the internal view reference to a new instance, rather than forcefully tearing down the existing view. this fixes the className redrawing bug when the ListView recycler shuffles reused view instances [#1971 state:fixed-in-qa] [#2377 state:fixed-in-qa] [#2344] https://github.com/appcelerator/titanium_mobile/commit/e18980e31ba5c0e061da3ababd711467471bffeb"> https://github.com/appcelerator/titanium_mobile/commit/e18980e31ba5...
Titanium SDK version: 1.5.0 (12/03/10 10:38 33c2058), Android 1.6/2/1, KS