CheckBox gets unchecked on scroll in a custom listview
I know that this question has been asked over and over again but still I've not been a able to find a suggestion that really helps me. The checkbox is unchecked whenever the list is scrolled down. Yes I'm using a boolean array to store the values but this still doesn't fix the problem. Here is my code. Please suggest a solution for this. Thank you. public View getView(final int position, View convertView, ViewGroup parent) { // TODO Auto-generated method stub final ViewHolder holder; final boolean[] itemChecked=new boolean[30]; LayoutInflater inflater = context.getLayoutInflater(); if