I updated the JIRA issue (https://issues.apache.org/jira/browse/FLEX-35232)
with a modified version of the project where the visible elements of the
FilteredArrayList are stored with the superclass logic, while the full list
is maintained as a separate ArrayList instance.   This makes
FilteredArrayList throw the appropriate itemAdded, itemRemoved, and
itemUpdated events for the visible list (itself) rather than for the full
list, as it did in the previous version.

The updated example also automatically refreshes the list when you click the
Update/Add/Remove Entry buttons, for convenience.

Otherwise, the logic has the same limitations discussed above.

Joel Anderson
My Apache Flex community contribution is working on the open source
Moonshine-IDE.com for FlexJS. 




--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/Filter-function-to-ArrayList-tp57239p57871.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to