How to set the index of a spinner?

Asked

Viewed 92 times

0

I have 3 spinners that I am using for filters, in my application each column has a filter, name, age, city, when I click on the age filter, I will choose an age, for example 12 and the age will be selected, when I click city I need the value selected in age to go back to the first spinner index which is "age". Does anyone know how to do that? Thanks in advance.

  • Add what you have already asked in the question, to facilitate the answers.

  • 1

    The spinner has the method setSelection. With it we can select the index of a spinner.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.