[TIMOB-28439] Android: Improve ListView initial load performance
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-06-30T19:36:01.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 10.0.1 |
Components | Android |
Labels | alloy, android, regression |
Reporter | Ludovic Fontenit |
Assignee | Joshua Quick |
Created | 2021-04-15T06:58:51.000+0000 |
Updated | 2021-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
master: https://github.com/appcelerator/titanium_mobile/pull/12781
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
merged to master, backport PR for 10_0_X merged, 10.0.1 target
PR (master): https://github.com/appcelerator/titanium_mobile/pull/12909