[ https://issues.apache.org/jira/browse/FLEX-21066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlos Rovira resolved FLEX-21066. ---------------------------------- Resolution: Implemented Fix Version/s: Adobe Flex SDK Next The added removeItem method was introduced in the IList interface and propagated to the rest of classes implementing IList (11 classes in total). The implementation was tested in various sample apps with List and TabNavigator. > Make removeItem( item:Object) accessible in ArrayCollection > ----------------------------------------------------------- > > Key: FLEX-21066 > URL: https://issues.apache.org/jira/browse/FLEX-21066 > Project: Apache Flex > Issue Type: Improvement > Components: Collections > Affects Versions: Adobe Flex SDK 4.1 (Release) > Environment: Affected OS(s): All OS Platforms > Affected OS(s): All OS Platforms > Language Found: English > Reporter: Adobe JIRA > Assignee: Carlos Rovira > Labels: easyfix > Fix For: Adobe Flex SDK Next > > > Steps to reproduce: > 1. try removing an item from an ArrayCollection > 2. try to use removeItem( item:Object)-method > 3. method does not exist > > Actual Results: > Compiler Error > > Expected Results: > Item should be removed > > Workaround (if any): > Call ac.removeItemAt( ac.getItemIndex( item) ). > The internal list used in ArrayCollection-class is an ArrayList that does > have a method removeItem( item:Object). Please make this method accessible > from ArrayCollection, for example by adding the following to > ListCollectionView.as > public function removeItem( item:Object ):Boolean > { > return list.removeItem( item ); > } -- 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