You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by yishayw <yi...@hotmail.com> on 2016/07/06 13:36:38 UTC

Re: [FlexJS]ArrayCollection

Note that ArrayList doesn't work with for each(). Not sure why.



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-ArrayCollection-tp53695p53702.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS]ArrayCollection

Posted by Harbs <ha...@gmail.com>.
(I do use for each a lot, but it’s probably a good idea to replace that with a normal for or while loop for JS performance.)

On Jul 6, 2016, at 5:19 PM, Harbs <ha...@gmail.com> wrote:

> That’s because it needs indexed access to items for that to work. (i.e. Proxy)
> 
> On Jul 6, 2016, at 4:36 PM, yishayw <yi...@hotmail.com> wrote:
> 
>> Note that ArrayList doesn't work with for each(). Not sure why.
>> 
>> 
>> 
>> --
>> View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-ArrayCollection-tp53695p53702.html
>> Sent from the Apache Flex Development mailing list archive at Nabble.com.
> 


Re: [FlexJS]ArrayCollection

Posted by Harbs <ha...@gmail.com>.
That’s because it needs indexed access to items for that to work. (i.e. Proxy)

On Jul 6, 2016, at 4:36 PM, yishayw <yi...@hotmail.com> wrote:

> Note that ArrayList doesn't work with for each(). Not sure why.
> 
> 
> 
> --
> View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-ArrayCollection-tp53695p53702.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.