1 Reply Latest reply on Feb 13, 2007 11:03 PM by jpwrunyan

    difference between listCollectionView and ArrayCollection

    shajahan_gani Level 1
      hi,
      can anyone tell me about the difference between an ArrayCollection and ListViewCollection? i know arraycollection inherits the listcollectionview class but i see both these classes are used in similar scenarios. It'll be useful to know the best practices for using these classes.
      Thanks,
      shajahan
        • 1. Re: difference between listCollectionView and ArrayCollection
          jpwrunyan Level 1
          First of all, I assume you mean "ListCollectionView"...

          The most important difference * to me* is that ListCollectionView (eg as used by DataGrid) can handle XMLLists and Arrays indiscriminately. ArrayCollection can only handle internal AS Arrays and Objects, and XMLListCollection only handles XMLList. Having said that, I am a BIG fan of ListCollectionView, especially when making inter-project components. If only I had discovered it sooner, my life could have been so much better.

          Long story short, I highly recommend using this class over the competition.