Use onItemClickListener on all the different list views, so basically you
will have 5 different listeners, or one listener with a 5 switch - case
statements, and then act accordingly. But I wonder why do you have to use 5
different list views .

Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com



On Fri, Nov 19, 2010 at 10:28 AM, pramod.deore <[email protected]>wrote:

> Hi all,
> I have a activity in that there are more than 5 list are there. Now
> when I select an item from that list then onListItemClick(ListView
> l,View v,int position,long id) method gets called. Now I want to
> identify on which list I have clicked.(Because I want to do different
> operation for different list item selected). How to identify that on
> which list user clicked?
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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