On Apr 29, 3:37 pm, Dianne Hackborn <[email protected]> wrote:
> but you don't want to tell the list view that your data set has changed 
> because
> then it needs to throw all of its current views away, retrieve the new data,
> and bind that data to new views.

I thought the views get recycled?  Isn't that what the convertView
argument is in the ListAdapter?

@pararm convertView  The old view to reuse, if possible. Note: You
should check that this view is non-null and of an appropriate type
before using. If it is not possible to convert this view to display
the correct data, this method can create a new view. Heterogeneous
lists can specify their number of view types, so that this View is
always of the right type (see getViewTypeCount() and
getItemViewType(int)).


Our app does not perform too badly redrawing the entire ListView once
per second.  Certainly slower than the iPhone, but not slow enough to
warrant optimizations that in our case would be too difficult to track
(i.e. we'd have to iterate through all of the active trading markets
to see how they compared with the list a second prior.

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