Android Spinner Issues
<p>How can make my spinner into a option list, but I want the list to be dynamic?</p>

<pre><code>  private void populateList() {
    Cursor cursor = getContacts();
    String[] fields = new String[] {
            ContactsContract.Data.DISPLAY_NAME
    };
    SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, R.layout.contact_entry, cursor,
            fields, new int[] {R.id.contactEntryText});

   mContactList.setAdapter(adapter);
   spinner.setAdapter(adapter);
}
</code></pre>
