Thanks Mark - that MergeAdapter will definitely come in handy for some
other things I'm doing.

In the Market activity, only the "Comments" section can really be
described as a list.

So wouldn't the MergeAdapter only be useful in the situation where
there is more than one sublist?

In my case, I don't really have any sublists. Its a bunch of rows each
with their own header and each (below-each-header-part) very different
from one another.

I've never used ScrollView before. Are there any potential pitfalls
using a LinearLayout within a ScrollView?

On Feb 26, 1:46 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> westmeadboy wrote:
> > I want to do something very similar (in terms of appearance) to the
> > app details activity of the Market app.
>
> > It looks like a cross between linear layout (not all rows the same),
> > list (scrolling nature), preferences (headings).
>
> > My guess is its a linear layout in a scroll view (ignoring activity
> > header/footer) and the headings are just hard coded...
>
> My guess was, and is, that it is a ListView with an appropriate ListAdapter.
>
> To have a mixed bag of row types, including some enabled and some not
> (headings), you can either roll your own ListAdapter, or use my
> MergeAdapter:
>
> http://github.com/commonsguy/cwac-merge
>
> --
> 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 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