Reputation: 35
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
Reputation: 670
You can select specific spinner item by,
spinner.setSelection(position);
hopes this solves your problem.
Upvotes: 1