Multiple Spinner Android
spinner1.setOnItemSelectedListener(this);
spinner2.setOnItemSelectedListener(this);
public void onItemSelected(AdapterView<?> arg0, View arg1, int arg2,
long arg3) {
// TODO Auto-generated method stub
switch(arg0.getId()){
case R.id.spAge :
//Your Action Here.
break;
case R.id.spSex :
//Your Another Action Here.
break;
}
}
Red Team