I am asynchronously loading data, I have an AutoCompleteTextView, when the data loads it is set in the adapter When I click on the search view I want to show the user all results. I can confirm the onClickListener is being called, but the results show only the second time I click.
private View.OnClickListener onAutoCompleteClickListener = new View.OnClickListener(){
@Override
public void onClick(View v) {
autoCompleteTextView.setText(" ");
searchAdapter.notifyDataSetChanged();
autoCompleteTextView.showDropDown();
}
};