Dexter's Brain wrote:
> I have a ListView whose layout contains several TextViews. When an
> item is clicked on the ListView, is it possible to capture on which
> TextView he has clicked?

You will want to call setOnItemClickListener() and/or
setOnItemSelectedListener() on the ListView. The former is for
screen-taps on list items; the latter is when the user scrolls to the
item via the trackball/d-pad and then clicks on it (again, with the
trackball/d-pad).

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

Looking for Android opportunties? http://wiki.andmob.org/hado

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