flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurice Amsellem (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-33607) AsyncListView does not handle item removal notification properly
Date Wed, 10 Jul 2013 17:35:48 GMT

     [ 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}

 

  was:
When notifyin an AsyncListView,  the items to the right of the removal are shifted to the
left, which is correct, but 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}

The main effect is that if you truncate 

    
> AsyncListView does not 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}
>  

--
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

Mime
View raw message