1 Reply Latest reply on Jun 26, 2010 8:09 PM by Shongrunden

    Recycling item renderers and performance

    duder2

      I'm aware that when useVirtualLayout=false, no recycling takes place because a new itemrenderer is created for each item to display.

       

      My question is this:

       

      let's say I make a request to the server and get 20 items, bind them to the dataProvider, and 20 itemrenderers get created.

       

      What happens when after that I make a new request to the server and return a different 20 items and bind them to the dataProvider? Does this mean that I now have 40 item renderers taking up memory, or are the old 20 item renderers destroyed since I re-bound the dataProvider to the new result?