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

Windows: terrible performance of listview

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.0.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      Nokia Lumia 625

    • Story Points:
      5
    • Sprint:
      2016 Sprint 19 SDK

      Description

      Creating and adding 50 simple rows to section takes a lot of time.

      index.xml:

      <Alloy>
          <Window id="win" backgroundColor='yellow'>
      		<ListView id="list" defaultItemTemplate="template">
      			<Templates>
       
                      <ItemTemplate name="template">
                          <Label bindId="info" id="title" color="black" />
                      </ItemTemplate>
       
                  </Templates>
                  
      	        <ListSection id='section'>
      	        </ListSection>
      	    </ListView>
      	    <Button width="100dp" height='50dp' backgroundColor="green" onClick='addToList' />
      	</Window>
      </Alloy>
      

      index.js:

      var items = [];
      for(var i=0; i<50; i++) {
      	items.push({info: {text: 'title ' + i}});
      }
       
      function addToList() {
      	$.section.appendItems(items);
      }
       
      $.win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi
              Reporter:
              zozo4kin Zakhar Zhuravlev
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-10061
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code