android - Notify data set changed not working in 4.1.2 after orientation changes -


In my app I have a list view with a custom adapter. There is a check box in that one. If I click on it, there will come a 2 option if I click on any one option, then I am checking the check box and the unchecked and the notifications have been changed. . Everything works well in 4.1.2 and 4.1.1. If I click on listview and change the orientation and click on any of the options which is in Check Status 4.1.2. But the check box position in 4.1.1 is unchecked. I'm thinking of problem with NotifyDatasetchanged

try it

  Yourlist.invalidateviews ();    

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -