Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2377] Android: Redraw issues after 3 row presses on TableView (Layout 2)

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:56.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M04
ComponentsAndroid
Labelsandroid, redraw, tableview
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:18:14.000+0000
Updated2011-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

FileDateSize
androidredraw.png2011-04-15T03:18:15.000+000047126

Comments

  1. Don Thorp 2011-04-15

    Also see http://developer.appcelerator.com/helpdesk/view/57131">Helpdesk 57131

  2. Marshall Culpepper 2011-04-15

    (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...

  3. Matt Schmulen 2011-04-15

    Titanium SDK version: 1.5.0 (12/03/10 10:38 33c2058), Android 1.6/2/1, KS

JSON Source