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
in onItemSelected method
onItemSelected
int i = spinnerFirst.getSelectedItemPosition(); int j = spinnerSecond.getSelectedItemPosition(); String strName1 = yourFirstarray[i]; String strName2 = yourSecondarray[j];