I am using listview in which each item (of list view) has a checkbox and a textview. when i am clivking on listview thw listener doesn't executes.
here is the code.
   ListView lv = (ListView) findViewById(R.id.list);
    final CustomListArrayAdaptor aa = new CustomListArrayAdaptor(this,data1);
    lv.setAdapter(aa);
    lv.setOnItemClickListener(new OnItemClickListener()
    {
        public void onItemClick(AdapterView<?> arg0, View v,int position, long arg3)
        {
            TextView tv=(TextView)v.findViewById(R.id.text);
            String s=tv.getText().toString();
            Toast.makeText(getApplicationContext(), "Item Selected :"+s,Toast.LENGTH_LONG).show();
        }
     });
It doesnt show the toast "Item Selected" when clicked on any item.