                 }
             }
         } */
-        
-        dispatchEvent(new FlexEvent(FlexEvent.DATA_PROVIDER_CHANGED)); 
     }
     
     protected function createVisualForItem(item:Object):DisplayObject

    {
        super.commitProperties();
        
        if (dataProviderChanged)
        {
            dataProviderChanged = false;
            initializeDataProvider();
            
            // maskChanged = true; TODO (rfrishbe): need this maskChanged?
        }
        
        if (itemRendererChanged)
        {
            itemRendererChanged = false;
            initializeDataProvider();
        }

        // Check whether we manage the elements, or are they managed by an ItemRenderer

import mx.styles.IStyleClient;

/**
 *  Dispatched when an item is added to the content holder.
 *  event.relatedObject is the visual item that was added.
 */
[Event(name="itemAdd", type="flex.events.ItemExistenceChangedEvent")]

/**
 *  Dispatched when an item is removed from the content holder.
 *  event.relatedObject is the visual item that was removed.
 */
[Event(name="itemRemove", type="flex.events.ItemExistenceChangedEvent")]

[DefaultProperty("dataProvider")] 
/**
