I wrote an application in which i'm listing out the files with Check boxes i.e., i'm displaying the names of the files existing in the device. The problem with the list is when i click the list item the file should be opened but the onClicklistener of that listview is not working, when i place the checkbox in the list. For that to happen i'm using the checkbox, i'm trying to open the file by capturing the click on checkbox in the Listview. But i'm not able to capture the position of the checkbox that was toggled.
My goal is to open the file that was checked or clicked.
Please share your ideas with me.