I have added a checkbox inside a list view, but i am able to select and unselect only the checkboxes but i cannot select the list item. How to overcome this problem? Any help is appreciated and thanks in advance...
My Code Goes Here
List<String> lst = dh.selectAll();
lv = (ListView)findViewById(R.id.listView1);
ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,R.layout.list,R.id.textViewx,lst);
lv.setAdapter(adapter);
lv.setOnItemClickListener(this);
dh.selectall() -> Contains the listarray of items from database; lv -> list view identified I've used array adapter and identified a textview to enter items in listview at last, I've given a clicklistener to the listview by implementing OnItemClickListener.