On Feb 15, 2:57 pm, Kostya Vasilyev <[email protected]> wrote:
> On 02/15/2012 05:37 PM, Olof Hedman wrote:
>
> > I don't expect it to.
> > But I do though expect it to call it a sensible amount of times, and
> > not call it when it is absolutely unnecessary.
>
> That may not be the ListView's definition of "sensible".
>

I don't think you look closely enough on what is happening here....

> > Why would it for example have to bind all my list items to the first
> > view two times over, before creating the other list item views?
>
> Perhaps it's populating a cache of some kind?
>

That theory doesn't hold.
It would only need to cache the views once, and if you look at what is
actually happening, you will se it binds the _same_view_ over and over
with different list item data.
Nothing is then cached, for a list with 8 items, the information will
be overwritten 16 times before it settles and start to create more
views for the list.
I can't see any reason to bind all list items 2 times over to the
first view before creating the next view in the list.

>
>
>
>
> > Cheers,
> > Olof

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to