Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Array Vs ArrayCollection in Flex

Can any one Explain the Difference between the Array and ArrayCollection in Flex?

like image 399
RKCY Avatar asked Feb 24 '10 17:02

RKCY


1 Answers

As per the liveDocs

The ArrayCollection class is a wrapper class that exposes an Array as a collection that can be accessed and manipulated using the methods and properties of the ICollectionView or IList interfaces. Operations on a ArrayCollection instance modify the data source; for example, if you use the removeItemAt() method on an ArrayCollection, you remove the item from the underlying Array.

So really they're the same, but one has more properties and methods.

like image 187
invertedSpear Avatar answered Oct 05 '22 02:10

invertedSpear