Вы пытались переопределить onNothingSelected()
?в onNS()
вы реализуете сделать / получить / любой элемент, который выбран по умолчанию.Я надеюсь, вы поняли мою идею.
spin.setOnItemSelectedListener(new OnItemSelectedListener(){
@Override
public void onItemSelected(AdapterView<?> arg0, View arg1,int arg2, long arg3) {
// Some operation with other selection
}
@Override
public void onNothingSelected(AdapterView<?> arg0) {
//operation with that item that onItemSelected() did not triggered. I mean, let's say you have 3 items on the spinner: A,B,C. Initially what we see its the A item and on this item this method will apply.
}});