I have created a spinner which is automatically updated with appliance names when a person adds an appliance using an array adapter. I created an OnItemSelected method with
It worked for me,
private boolean isSpinnerInitial = true;
@Override public void onItemSelected(AdapterView> parent, View view, int position, long id) { if(isSpinnerInitial) { isSpinnerInitial = false; } else { // do your work... } }