I have two spinner in my system. Now I have to change the selected value of the 2nd spinner depending on the first spinner value. As soon as the user will change the 1st spinner value, the 2nd spinner value will set automatically depending upon the 1st spinner’s selected value. How to implement this?
Share
From the Hello Spinner tutorial:
In other words, you need to create an OnItemSelectedListener that modifies the value of the second spinner, and attach it to the first spinner.