I have two spinners (day_spin and time_spin) in one Activity. I want to save the selected day_spin value into a variable. Is it possible to differenciate betwee
Activity
try this...
public void onItemSelected(AdapterView> parent, View view, int pos, long id) { if(parent.getId() == R.id.spinnerone) { // operations } else if(parent.getId() == R.id.spinnertwo) { //operations } }