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
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
I see that the description section is not selectable and assume it is
pretty trivial to define whether something like that (and headings) is
selectable or not...
In my case, some rows are selectable and others have views within them
that are selectable (think of a displayed sentence where
westmeadboy wrote:
I see that the description section is not selectable and assume it is
pretty trivial to define whether something like that (and headings) is
selectable or not...
In my case, some rows are selectable and others have views within them
that are selectable (think of a
ok, ListView it is!
I think the thing that bothers me, is I would like to define the whole
layout in XML (as if I were using a LinearLayout). I wonder if its
still possible (or recommended) to do that. Inflate the layout and
then read off the children into the Adapter...??
On Feb 26, 2:27 pm,
westmeadboy wrote:
ok, ListView it is!
I think the thing that bothers me, is I would like to define the whole
layout in XML (as if I were using a LinearLayout). I wonder if its
still possible (or recommended) to do that. Inflate the layout and
then read off the children into the
I think you're right, it could get messy.
Having said that, I think there is a good case for creating a custom
widget like LinearLayout2ListView (i.e. extends ListView and takes a
linear layout resource as an argument).
A man of your talents Mark, could polish that off in about half an
hour :)
7 matches
Mail list logo