views:

294

answers:

2

The title says it all.

+2  A: 

That depends on what you mean.

If you want a true multi-select Spinner, then there's nothing built into Android for that.

Note that you are in control over what goes in the Spinner rows of the drop-down list, except for the radio button. If you want to put checkboxes in your rows, be my guest. It'll look strange, may not work properly with respect to touch events, will not remove the radio buttons (AFAIK), and will be completely unrelated to the Spinner's contents in normal mode. Hence, I can't recommend this approach, but it is doable.

The source code to Spinner is available from the Android open source project, so you are welcome to clone it and develop a MultiSelectSpinner or something.

CommonsWare
Thanks! It seems it is too much trouble, maybe I will use another approach.
janfsd
+1  A: 

You could just create a ListView with check boxes. You could even add it to a dialog. That's essentially all a spinner is.

Jay Askren
Nice idea! Thanks!
janfsd