Hello,

I want to know if a user has selected the text portion or the check
box graphic portion of a CheckedTextView. I want different behaviour
depending on where they select. If they click on the text then I want
to edit the underlying object and if they select the check box then I
want to close off the object.

Currently I am using but this listener is called no matter where the
CheckedTextView is selected...
listView.setOnItemClickListener(new AdapterView.OnItemClickListener(){
    public void onItemClick(AdapterView<?> arg0, View arg1, int
position, long id) {
...
}});

Thanks,
JP

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

Reply via email to