On Sat, May 23, 2009 at 1:27 PM, einnocent <einnoc...@gmail.com> wrote:

>
> My first attempt to post this seems to have failed. This is a second
> attempt.
>
> I am trying to display a screen filled with data fetched from a
> server. The data, if it were HTML, would look something like the
> following (try to visualize =) ):
>
> <h1>This Is the Title</h1>
> <p>Here is some pertinent info.</p>
> <p>Below here is a list with ~1-10 items, depending</p>
> <table>
> <tr>
> <td>This first item is neat!</td>
> </tr>
> <tr>
> <td>Looks like we only got two items this time. Who knew?</td>
> </tr>
> </table>
>
> So I naively tried to put a ListView in a ScrollView. Not only did it
> not work, but I've since read all about why it is bad by the likes of
> such luminaries as Hackborn and Guy (it nullifies the optimizations,
> etc).
>
> Problem is, the half dozen places that said NOT to do it didn't
> recommend what I SHOULD do instead, excepting one post by Romain Guy
> specifying footer or header use (not suitable in my example, right?).


Why not? Why can't your (h1) and (p) sections be header views?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to