1 Reply Latest reply on Jul 23, 2009 2:21 AM by mattmuller

    question about dataproviders and repeaters


      Hi, just want to see if anyone knows anything about this.


      I have an ArrayCollection which stores a discussion thread.


      I am using this ArrayCollection as a datasource for a repeater.


      The repeater contains a custom component which is a HBox with a UITextField.


      Inside this component I am doing a bunch of stuff on creationComplete();


      It seems everytime I add a new item to the ArrayCollection it fires creationComplete in every single custom component.


      I assume this means it is recreating every component for every item in the ArrayCollection each time there is a change to the Array.


      Is there a better approach?


      Is there a better way to handle this?


      How does this impact memory?


      Any ideas welcome.