I created a spinner
with 5 items and I also created 5 buttons. What I want to do is to associate a button to an item in the spinner. So when I click a button, a corresponding item will be selected. For example:
I have 5 items in my spinner:
hey, hi, ho, hello, sup
I have 5 buttons:
btn1, btn2, btn3, btn4, btn5
btn5
is associated to sup
. So when I click btn5
, sup
should be selected in the spinner. How would I do this?