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 problem and I solved it. My problem was that I was using a listview
, with an array adapter and with filter. On the method performFiltering
I was messing with the array that have the data and it was the problem since this method is not running on the UI thread and EVENTUALLY it raises some problems.