[ https://issues.apache.org/jira/browse/FLEX-22384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean updated FLEX-22384: --------------------------------- Labels: easyfix (was: ) > ArrayList set source and setItemAt are difficult to override > ------------------------------------------------------------ > > Key: FLEX-22384 > URL: https://issues.apache.org/jira/browse/FLEX-22384 > Project: Apache Flex > Issue Type: Improvement > Components: Collections > Affects Versions: Adobe Flex SDK 3.4 (Release) > Environment: Affected OS(s): All OS Platforms > Language Found: English > Reporter: Adobe JIRA > Labels: easyfix > > Steps to reproduce: > 1. try to use ArrayList as a basis for implementing an IList backing a > ListCollectionView (for example, a union of several lists or a linked list or > tree set) > 2. override setItemAt to replace items in your backing data structure > Actual Results: > setItemAt references private _dispatchEvents which is needed to determine if > an event should be dispatched (set source is similarly implemented) > > Expected Results: > setItemAt should be implemented like addItemAt and reference a protected > function created for the purpose of dispatching property change events (a new > protected function like internalDispatchEvent), alternatively provide a > getter for _dispatchEvents == 0 > Workaround: > implement IList from the ground-up -- 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