Create asynchronous ContentProvider for Actionbar SearchView
I have a SearchView in my ActionBar which is connected with a ContentProvider to give search suggestions. These suggestions do not come from a DB (as usual with ContentProvider), but from a web service. That's why I have to handle the Cursor of the ContentProvider asyncronously. My code works so far, but the search suggestions are always one letter "behind": After I enter "the" , I get all results from the previous search => "th" After I enter "they" , I get all results from the previous search => "the" How can I tell the SearchView that the Cursor has new results in it? I looked into