title: AutoCompleteTextView click listener not working
body: <p>My autoCompleteTextView's click listener isn't working but I don't why.</p>
  
  <pre><code>    final ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this,
              R.layout.userstatuslayout, R.id.listusername, values);
  
      editText.setThreshold(1);
      editText.setDropDownAnchor(R.id.districtsearch);
      editText.setAdapter(adapter);
  
  
      editText.setOnItemClickListener(new AdapterView.OnItemClickListener() {
  
          @Override
          public void onItemClick(AdapterView&lt;?&gt; parent, View view,
                                  int position, long id) {
              String selection=(String)parent.getItemAtPosition(position);
              Toasty.info(getApplicationContext(),selection).show();
  </code></pre>