0 Replies Latest reply on Dec 11, 2009 11:19 PM by HansMuller

    [svn:fx-trunk] 12879: Revised the way dataProvider CollecitonChangeEvent reset/ refresh events are handled, and likewise for changes to the

    HansMuller Level 1

      Revision: 12879

      Revision: 12879

      Author:   hmuller@adobe.com

      Date:     2009-12-11 23:19:33 -0800 (Fri, 11 Dec 2009)

      Log Message:

      ***********

      Revised the way dataProvider CollecitonChangeEvent reset/refresh events are handled, and likewise for changes to the

      itemRenderer, itemRendererFunction, and layout.useVirtualLayout.    The overall goal was to reuse existing item renderers

      when only the dataProvider changed, layout.useVirtalLayout == true, itemRendererFunction == null, itemRenderer != null.

      We no longer eagerly remove all renderers when the aforementioned property/event changes occur, and then only do so

      at commitProperties() time if they can't be reused.

       

      Also: the undocumented protected DataGroup/cleanupDataProvider() method is now private and is called removeAllItemRenderers().

       

      QE notes:

      Doc notes:

      Bugs: sdk-23228

      Reviewer:

      Tests run: DataGroup, List

      Is noteworthy for integration: no

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/sdk-23228

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as