I am trying to update color of listview from async task postexecute method.
I am doing ((View) lstChoices.getAdapter().getView(0,null, lstChoices)).setBackgroundColor(Color.RED);
But this is not doing anything, but I tried the same in getView method of my custom adapter then it worked, row.setBackgroundColor(Color.RED);
Any ideas what I am doing wrong?
Thanks