1 Reply Latest reply on Aug 25, 2009 1:28 PM by Jeff Swartz

    Refresh custom list.

    flex question



      I have a PriorityQueue-class that extends ArrayCollection which contains a bunch of Task-objects. The priority is checked from timeLeft(), the method converts _date to seconds.


      I also got an ItemRenderer-class that extends UIComponent and contains a few labels. One label is: timeLeftLabel.text = data.timeLeft() + " left";


      The thing is that I want to refresh the list every 5 seconds or so, this can be done by using a Timer and then call PriQueue.refresh(), this seems to be the wrong approach since I don't want to refresh the whole list and since im using an ArrayCollection as a data provider, it should work - right?