AutoComplete with vectors - android
<p>I've have a Vector like this in my app:</p>

<pre><code>  Vector&lt;Firm&gt; firmVector= new Vector&lt;Firm&gt;();
</code></pre>

<p>As you may see, this is a vector of objects from my own class <code>Firm</code></p>

<p>So to my question, is it possible to add a <code>AutoComplete</code> to this `Vector?</p>

<p>Like this one, from <a href="http://developer.android.com/resources/tutorials/views/hello-autocomplete.html" rel="nofollow">developer.android.com</a>:</p>

<pre><code>@Override
protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.main);

  AutoCompleteTextView textView = (AutoCompleteTextView)findViewById(R.id.autocomplete_country);
  ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this, R.layout.list_item, COUNTRIES);
  textView.setAdapter(adapter);
}
</code></pre>
