Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27517] Android ListView renders items inconsistently on scrolling

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2019-11-05T00:03:44.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid
ReporterChris Drewry
AssigneeGary Mathews
Created2019-09-20T20:47:30.000+0000
Updated2019-11-05T00:03:44.000+0000

Description

ListViews in Android (device or emulator) render list items inconsistently when scrolling the items off-screen and then back on-screen. Attached are an index.js, index.tss, index.xml, and app.tss from a freshly-created project. Also included is a gif of this behavior. This inconsistency is not present on iOS builds (either simulator or device).

Attachments

FileDateSize
app.tss2019-09-20T20:45:09.000+0000184
index.js2019-09-20T20:44:29.000+00005593
index.tss2019-09-20T20:45:09.000+0000933
index.xml2019-09-20T20:44:53.000+00001472
listViewBug.gif2019-09-20T20:44:18.000+00003926254

Comments

  1. Jebun Naher 2019-09-22

    Hi [~cdrewry], Thanks for reporting the issue. Can you please try using latest ti sdk 8.1.1.GA and let us know if you experience the same behavior?
  2. Chris Drewry 2019-09-23

    Tried using 8.1.1.GA and am seeing the same behavior.
  3. Sharif AbuDarda 2019-09-23

    Hello [~cdrewry], I believe this issue is device-specific. I have tested on Google pixel emulators (Android 8) and observed the behavior. But tested on Nokia 6 (Android 9) and the issue was not there. Can you please specify which device and emulator you are testing on. Also, Is the issue only on Android 8 or also in android 9? Thanks.
  4. Chris Drewry 2019-09-23

    I've tested with the following: Pixel 3 emulator with API 29 Pixel 3 emulator with API 28 Pixel 2 emulator with API 27 Samsung J3 device with API 27 Nexus 5 emulator with API 26 Nexus ONE emulator with API 25 Nexus ONE emulator with API 24 Nexus ONE emulator with API 23 The issue is present on each of those devices and emulators.
  5. Gary Mathews 2019-11-05

JSON Source