flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Filter function to ArrayList?
Date Wed, 04 Jan 2017 00:41:13 GMT
Hi Joel,

I took a look at the code.   It looks like it would work.  I'm wondering
if you considered:
1) directly accessing the underlying array instead of using super methods
2) storing the unfiltered data as an Array instead of an ArrayList.


On 1/3/17, 3:28 PM, "JoelProminic" <joel@prominic.net> wrote:

>I updated the JIRA issue
>with a modified version of the project where the visible elements of the
>FilteredArrayList are stored with the superclass logic, while the full
>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
>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:
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

View raw message