What I want to do: run a background thread which calculates ListView contents and update ListView partially, while results are calculated.
W
I had the same issue.
I was adding items to my ArrayList outside the UI thread.
ArrayList
Solution: I have done both, adding the items and called notifyDataSetChanged() in the UI thread.
adding the items
notifyDataSetChanged()