I have a ListActivity that implements onListItemClick() and calls a doSomething() function of the class. The latter contains l.s
ListActivity
onListItemClick()
doSomething()
l.s
Found a solution in my case. I am not using a Runnable since my class is extending ListFragment. What I had to do is make my index a final; final index = 5; mListView.setSelection(index);