Register an OnItemClickListener with the ListView and override the
onItemClicked method.

On Tue, Nov 9, 2010 at 2:25 PM, pramod.deore <[email protected]>wrote:

> Hi, I have one class which is extended from activity. In this I have
> displayed list. Now I want the name of list item on which user is
> clicked. My class is not exteded from ListActivity so I can't
> override
> protected void onListItemClick(ListView l,View v,int position,long id)
>        {
>
>        }
>
> Then How I came to know that on which list item user click?
>
> Thanks.
>
> --
> 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




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

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