[
https://issues.apache.org/jira/browse/FLEX-33607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maurice Amsellem updated FLEX-33607:
------------------------------------
Description:
When notifying an AsyncListView that items have been removed, the
itemResponders matching the items to the right of the removal are shifted to
the left, which is correct, but the itemResponders for the removed items
themselves are not removed.
{code}
mx.collections.AsyncListView.as
private function handleCollectionChangeEvent(ce:CollectionEvent):void
{
...
switch (ce.kind)
{
...
case CollectionEventKind.REMOVE:
shiftPendingRespondersLeft(ce);
break;
{code}
One of the consequences is that if you truncate the client list (ie remove N
items at the end) and send a remove notification, the pending responders are
not removed
was:
When notifying an AsyncListView that items have been removed, the
itemResponders matching the items to the right of the removal are shifted to
the left, which is correct, but the itemResponders for the removed items
themselves are not removed.
{code}
mx.collections.AsyncListView.as
private function handleCollectionChangeEvent(ce:CollectionEvent):void
{
...
switch (ce.kind)
{
...
case CollectionEventKind.REMOVE:
shiftPendingRespondersLeft(ce);
break;
{code}
> AsyncListView does not seem to handle item removal notification properly
> ------------------------------------------------------------------------
>
> Key: FLEX-33607
> URL: https://issues.apache.org/jira/browse/FLEX-33607
> Project: Apache Flex
> Issue Type: Bug
> Components: ASyncListView
> Affects Versions: Apache Flex 4.9.0
> Reporter: Maurice Amsellem
>
> When notifying an AsyncListView that items have been removed, the
> itemResponders matching the items to the right of the removal are shifted to
> the left, which is correct, but the itemResponders for the removed items
> themselves are not removed.
> {code}
> mx.collections.AsyncListView.as
> private function handleCollectionChangeEvent(ce:CollectionEvent):void
> {
> ...
> switch (ce.kind)
> {
> ...
> case CollectionEventKind.REMOVE:
> shiftPendingRespondersLeft(ce);
> break;
> {code}
> One of the consequences is that if you truncate the client list (ie remove N
> items at the end) and send a remove notification, the pending responders are
> not removed
>
--
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