Custom layout with checkbox in listView: When I delete a line if it was checked(checkBox = true) the next line gets the check
问题 When I delete a line if it was checked(checkBox = true ) the next line gets the check. I have few lines, second line checked third NOT checked. I delete second line, and then the third(which is now the second) becomes checked... I dont want it to be checked after delete. I delete in Activity code in onContextItemSelected() . Adapter Code: public class TodoAdapter2 extends ArrayAdapter<TodoTask>{ Context context; int layoutResourceId; ArrayList<TodoTask> data = null; public TodoAdapter2