title: Android ArrayAdapter<String> Error
body: <p>I need to create a spinner from a string. Until now I use an ArrayAdapter, but it's not working. This is my code</p>
  
  <pre><code>ArrayList&lt;String&gt; aus=new ArrayList&lt;String&gt;();
              if(results.length!=0){
                  for(int i=0;i&lt;results.length;i++)
                      aus.add(results[i].get_nome());
              ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this,android.R.layout.simple_spinner_item, aus);
                  adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
                  locale.setAdapter(adapter);
              }
          }      
  </code></pre>
  
  <p>locale is a Spinner type
  results it's a my class and get_nome return a string
  I have this error:    "The costructor of ArrayAdapter(new Handler(){},int, ArrayList is undefined"</p>