Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28439] Android: Improve ListView initial load performance

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2021-06-30T19:36:01.000+0000
Affected Version/sn/a
Fix Version/sRelease 10.0.1
ComponentsAndroid
Labelsalloy, android, regression
ReporterLudovic Fontenit
AssigneeJoshua Quick
Created2021-04-15T06:58:51.000+0000
Updated2021-06-30T19:36:01.000+0000

Description

We have big issues about upgrading to titanium 9.3 (currently 9.0.3). With the 9.3 sdk version, our listviews on android are very laggy and freezing (they are smooth on v9.0). I tried to lighten the list items (remove images, events I listen : onscroll, onmarker) and just keep some labels, it is a little bit better but not comparable to the smoothness we have before. The code is simple, i use Alloy, load data from a http request and instanciate list items from templates, that i put in a section and insert in my listview. (we have no problem with our iOS version of the app). Here is an example of code reproducing the problem (i removed the assets folder) :

Attachments

FileDateSize
app.zip2021-04-15T06:55:35.000+000016155
ListOfTextAreasTest.js2021-06-22T23:51:55.000+00002052
ListViewImageRemoteTest.js2021-05-06T23:31:09.000+00004219
ListViewTemplateComplexTest.js2021-06-22T23:47:37.000+0000109833
ListViewTemplateMultiComplexTest.js2021-06-23T21:21:37.000+000052548

Comments

  1. Gary Mathews 2021-05-06

    master: https://github.com/appcelerator/titanium_mobile/pull/12781
  2. Ludovic Fontenit 2021-05-07

    Hello, is it too late to target the sdk v10.0.0.GA ? Or do you have an idea about the release date of the v10.0.1 ? I need to update my app as soon as possible. Thank you Ludovic
  3. Christopher Williams 2021-06-07

    merged to master, backport PR for 10_0_X merged, 10.0.1 target
  4. Joshua Quick 2021-06-19

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/12909

JSON Source