On Wed, Jan 2, 2013 at 11:23 AM, peppergrower <
[email protected]> wrote:

> However, I'm wary of just dropping in a WebView in place of the TextView,
> since there will typically be 30-40 items in the list, sometimes up to 100
> or so. I'm under the impression that WebView is kind of heavy, so having
> 100+ loaded in the same activity may not be a good idea.


ListView recycles elements in the list, so you won't end up with 100+
items, you'll have something like NUM_VISIBLE_ITEMS. Just reuse the View
given to you in getView() in your Adapter and re-populate the data.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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