Ok, I now have a working solution!!  So first of all, unfortunately I
changed a few things at once so I can't really say what I changed that
made things work.

First of all, I set the first nested LinearLayout property
android:clickable="true".  That seems obvious and I think I did that
before but this time it worked.  In the meantime I'd also switched
from using a SimpleArrayAdapter to a regular old CursorAdapter which
it turns out is only about 1% less simple and about 99% more powerful
and flexible and intuitive.  I also found that I could set on my
ListView, listView.setItemsCanFocus(true) which was also the behavior
that I wanted allowing sub-elements on the list to be selected.  Then
instead of using the listView.setOnItemClickedListener I get a
reference to the sub-element I was interested in being able to click
and did setOnClickListener on that to launch my activity to handle
that.

I'm actually still mostly confused but for now I'll take it.  Let me
know if someone wants and I'll post my updated code here.


On Jul 23, 4:01 pm, Gregg Reno <[email protected]> wrote:
> Thanks for trying Andrew, but that didn't work for me either.  I
> notice your example HTML doesn't have a checkbox in it.
--~--~---------~--~----~------------~-------~--~----~
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