Thanks Sujay, I got it working. Thanks a lot.
On Jun 19, 10:01 am, Sujay Krishna Suresh <sujay.coold...@gmail.com> wrote: > 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 > <coomar....@gmail.com>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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---