Hi,

Use this code i hope this is work...

list.setOnItemClickListener(new OnItemClickListener() {

            public void onItemClick(AdapterView<?> arg0, View arg1,
                    int position, long arg3) {
                Object o = list.getItemAtPosition(position);
                String pos = o.toString();
Toast.makeText(TasksActivity.this,"I am clicked on Item Number is:"+pos, 
Toast.LENGTH_SHORT)
                        .show();

Thanks,

        }
        });

On Saturday, January 5, 2013 12:19:33 PM UTC+5:30, sree wrote:
>
>
> Hi friends,
> See The above attachment image.In that i implemented CustomListView and 
> text are retrive from SOAP webservices.
> But When i click on ListView,i cant get any response.
> Why 
> suggest me,What is the problem.
>
> list.setOnItemClickListener(this);
> @Override
>     public void onItemClick(AdapterView<?> arg0, View arg1, int position, 
> long arg3) {
>         
>         Toast.makeText(TasksActivity.this,"I am clicked on Item Number 
> is:"+position,3000).show();
>         
>     }
>

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

Reply via email to