i had a EditText , a button and a spinner . When click the button , the spinner will add a new item with name you entered in the EditText. But here is the question, my adap
Javi is right except don't reference an array for the second parameter.
adapter = new ArrayAdapter(this, android.R.layout.simple_spinner_item, someList);