I feel like this question was posted a thousand times. There are several cases where I get really close to the answer, but it always slips through my fingers.
What I want to do is, when I click in a row of the list, I manually un/check the CheckBox of that row.
In others words: when I click in a listView row, I have to obtain the CheckBox object associated to it so I can change the value of it.
I feel the answer is something like calling or reproducing the holder.CheckBox.setOnClickListener (which handles the CheckBox state inside the CustomAdapter) method inside the listview.setOnItemClickListener method, but I don't know how to do it :(
Just to be clear - I can get which row was clicked, which checkbox was clicked, their position and every data about it. If I click the checkBox, it gets checked no problem. The only thing I can't do is check the box when I click the text next to the box.
I can post code if requested, but as I'm not sure if it's necessary I'll avoid making this question a wall of text.