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

That is a misconception. Try using your D-pad or trackball or whatever
on that screen. You will find that the comments, the three items below
the "About the developer" heading, and the "Flag as inappropriate" row
are all selectable. Hence, I'm reasonably certain this is a ListView
overall.

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

It is useful anyplace where you have the need for a ListView where the
content does not all come from a single adapter. That could be headings.
That could be a mix of fixed rows (e.g., "Flag as inappropriate") and
data-driven rows (e.g., the comments). It could be both. It could be
something else.

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

If the non-header rows are to be selectable and/or clickable, then you
probably want to use a ListView. If not, a ScrollView should work.

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

You cannot have scrollable things inside scrollable things. Hence, you
cannot have a ListView inside of a ScrollView, for example.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 In Print!

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