--- In [email protected], "the_braniak" <[EMAIL PROTECTED]> 
wrote:
>
> Hi all,
> 
> In my application I am pooling data every 3 seconds. The data goes
> into a model which updates a view. I am using a list with a custom
> Item renderer. In the custom itemRenderer I am overriding the data
> getter/setter.
> 
> Everything works fine (the bindings and all) except one fact: the 
the
> DataProvider for the  List contains only 4 items. When I trace out 
the
> "data" value in the overriden setter in the itemRenderrer the first
> item form the DataProvider is displayed twice. 
> Has Anyone any ideea why?
> Does that means somehow that the list adds the first item from the
> dataProvider twice? When i log the length of the dataProvider it
> always display 4. This issue is giving me hedaches for a few days 
now ... 
> 
> 
> code snippet: 
> 
> the overriden data porperty in the custom item renderer look as 
below
> 
> private var _data : Object;
> 
> override public function set data(val : Object) : void 
> {
>     trace("data setter  = " + val); 
>     this._data = val;
> }
> 
> the trace always display 5 lines on every model update and the first
> item is displayed twice

I also had this problem:

http://flexdiary.blogspot.com/2008/04/is-horizontallist-faster-than-
hbox-with.html

Reply via email to