AutoCompleteTextView - prevent dropdown from closing while calling notifyDataSetChanged
<p>I'm using my own <code>Adapter</code> and my own <code>Filter</code> to populate <code>AutoCompleteTextView</code>. Everything works fine except that every time when I'm calling <code>notifyDataSetChanged</code> dropdown with is closed and then reopens again with new suggestions (which is kind a annoying).</p>

<p>What I'm trying to achieve - is the same behaviour as Google. When you typing word, dropdown just populated with new values (without reopening). Is there any workarounds?</p>

<p><strong>PS</strong></p>

<p>Adapter populated in <code>Filter#publishResults</code>:</p>

<pre><code>@Override
protected void publishResults(CharSequence constraint, FilterResults results) {
    if(results == null) {
        return;
    }

    mAdapter.clear(); //notifyDataSetChanged is NOT called here

    List&lt;?&gt; content = (List&lt;?&gt;) results.values;
    final int size = content.size();
    for(int i=0; i&lt;size; i++) {
        mAdapter.add((City) content.get(i));
    }

    mAdapter.notifyDataSetChanged();
}
</code></pre>
