You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/04/21 03:59:15 UTC

[jira] [Updated] (FLEX-25646) ArrayCollection removeItem function

     [ https://issues.apache.org/jira/browse/FLEX-25646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Mclean updated FLEX-25646:
---------------------------------

    Description: 
Usually when removing an item from an ArrayCollection, I remove it by reference rather than index. This means I have to do 

arrayCollection.removeItemAt(arrayCollection.getItemIndex(item)); 

I'd like a convenience method that would take an item and remove it if it's found, otherwise fail gracefully (no exception.)
    
> ArrayCollection removeItem function
> -----------------------------------
>
>                 Key: FLEX-25646
>                 URL: https://issues.apache.org/jira/browse/FLEX-25646
>             Project: Apache Flex
>          Issue Type: New Feature
>          Components: Collections
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Language Found: English
>            Reporter: Adobe JIRA
>
> Usually when removing an item from an ArrayCollection, I remove it by reference rather than index. This means I have to do 
> arrayCollection.removeItemAt(arrayCollection.getItemIndex(item)); 
> I'd like a convenience method that would take an item and remove it if it's found, otherwise fail gracefully (no exception.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira