title: Suggestions not shown in AutoCompleteTextView
body: <p>I have a AutoCompleteTextView in my layout. When a user enter "@" character in that i have to show them some suggestions. It normally names i get it from internet. </p>
  
  <p>I am getting the names and i create an ArrayAdapter as shown below.</p>
  
  <pre><code>autoCtextView.addTextChangedListener(new TextWatcher() {
  
          @Override
          public void onTextChanged(CharSequence s, int start, int before,
                  int count) {
              // TODO Auto-generated method stub
              String lsatChar = s.toString().substring(s.length()-1,s.length()); 
              if(lsatChar.equals("@")) {
                  ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(DisplayQuestionDetails.this, 
                           android.R.layout.simple_list_item_1, namesLsist);
                  autoCtextView.setAdapter(adapter);
              }
  
  
          }
  
          @Override
          public void beforeTextChanged(CharSequence s, int start, int count,
                  int after) {
              // TODO Auto-generated method stub
  
          }
  
          @Override
          public void afterTextChanged(Editable s) {
              // TODO Auto-generated method stub
  
          }
      });
  </code></pre>
  
  <p>But the suggestions are not shown. Am i doing anything wrong ? Please ask if need clarification on question</p>