I have a custom listView in my app I would like to implement my select all button I have created.
My ListView looks like.
[(Image)(Text)(CheckBox)]
I have looked at some similar questions, the most common answer was with the user of the notifyDataSetChanged () method, iv’e tried researching and implementing without any luck, I was wondering can you think of a way round it or give me an example of how I can implement the method
I couldn’t get the above answer to work, so I used parts of another answer and found the answer.
I added this this globally.
Then in the onClick method I used
selState being equal to what function you want to do
In the Adapter, this is final part of code