u shd use d setonclicklistener for each view in ur adapter.... n if u hv 2 fields, its best 2 use tablerow...
On Fri, Jun 19, 2009 at 10:28 AM, Dexter's Brain <[email protected]>wrote: > > Hi, > > I want to have the following functionality. > > I need to have a list view which should have two fields. I need to > listen to clicks on these two fields(TextViews). Based on which text > view was clicked, I need to start different activities. Is this > possible in a ListView? I have my custom adapter for the ListView. > > When I set listeners on the ListViews for ItemClicks, I don't get any > information on which TextView was clicked. > > I tried searching for a similar implementation in this group. But, I > didn't find a concrete answer. > > Thanks, > Kumar. > > > -- Regards, Sujay Rodney Dangerfield<http://www.brainyquote.com/quotes/authors/r/rodney_dangerfield.html> - "What a dog I got, his favorite bone is in my arm." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

