ArulKumar
ArulKumar

Reputation: 35

Multiple spinner selection based on spinner id

Have created n number of spinners pro grammatically. need to select spinner without clicking the spinner item. it should select only when click the button.

(ex) 50 spinners have created using loop

it should select specific spinner based on button click.

Upvotes: 0

Views: 52

Answers (1)

Rashiq
Rashiq

Reputation: 670

You can select specific spinner item by,

spinner.setSelection(position);

hopes this solves your problem.

Upvotes: 1

Related Questions