There are methods in ListView for getting the first/last visible row. I think if you iterated just over these, it would be fast enough.
23.05.2010 14:59 пользователь "ls02" <[email protected]> написал: 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]<android-developers%[email protected]> For more options, visit this group at http://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

