I have tried various methods but none of them is working, what i what is changing the background image of cell of listview for this i have different images for cell. The content remain same. This is what i have tried yet.
CountryList.post(new Runnable(){
public void run() {
CountryList.invalidateViews();
}
});
// and this one also.
runOnUiThread(new Runnable() {
public void run() {
CountryList.invalidateViews();
}
});
As i dont content to be reloaded.