Hi,

What i've always done is updating the info contained in the custom
adapter
that the ListView uses, and then doing a
myAdapter.notifyDataSetChanged();

I think this calls getView() only for the ListView items that are
being displayed
at that moment.

Hope this helps.

Luis.

On 23 mayo, 12:58, ls02 <[email protected]> wrote:
> I need to frequently update listview row, What's the best way to find
> the row? I wonder how findViewById and findViewByTag work? Do they
> walk over all child views and check each view ID or tag? Because this
> could be very inefficient. Or they have some sort of hash map to
> quickly retrieve the requested view by ID or tag?
>
> Or maybe there is another way of updating listview items? I know
> listview reuses views and as you scroll they essentially hand adapter
> the same views in getView method.
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

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