Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
Adobe Flex SDK Previous
-
Language Found: English
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.)