Say it's clean enough to write a SAX handler with few possible
exception handling lines. I really don't want 3rd party jars. With
that aside - will it be faster to use ListView?

Bo

On Aug 16, 4:58 pm, Mark Murphy <[email protected]> wrote:
> droidin.net wrote:
> > I guess to definitely answer this, one needs to run some benchmarks
> > but I'll ask anyway. In you opinion/experience what would work faster
> > after initial HTML is grabbed from the remote source. (The HTML is
> > group of one or two level nested OL or UL within body tag and some
> > DIVs)
>
> > 1. Using WebView/JS/CSS to customize and render HTML into list-like UI
> > 2. Parse HTML into ListAdapter and then use ListView to render it
>
> > My experience with #1 shows that it is actually pretty slow. Weird
> > thing is - once rendered - JS works quite well and fast it's really
> > initial parsing and loading that produces the delay
>
> #2 will be limited by how clean your HTML is, unless you use TagSoup or
> something to parse it, and I have no idea if TagSoup or kin run on Android.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android Development Wiki:http://wiki.andmob.org
--~--~---------~--~----~------------~-------~--~----~
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