Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28439

Android: Improve ListView initial load performance

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 10.0.1
    • Component/s: Android
    • Environment:

      Android (all devices, all sdk) + titanium SDK 9.3 and later

      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

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              lfontenit-presta Ludovic Fontenit
              Reviewer:
              Gary Mathews
            • Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration