0

Is there a simple way in Android to let a spinner accept multiple selections?

I can't believe I have to implement a class myself for such a basic behaviour... :-(

* UPDATE *

Ok, the solution is to go with ListViews, but, how do I make a ListView behave like a spinner, i.e., when not selected it should be closed, showing only the default or selected item, plus a down arrow to allow user to open the ListView...

Should I implement the "spinner" behaviour from scratch?

* UPDATE UPDATE *

Should I better try to skin a Button as Spinner to create a custom multiselect spinner, or it's better to extend Spinner?

MarcoS
  • 17,323
  • 24
  • 96
  • 174
  • Have you tried a MultiSpinner? Something like this... http://stackoverflow.com/questions/5015686/android-spinner-with-multiple-choice –  Feb 02 '12 at 04:02

1 Answers1

1

Spinner is for single selection only. You can use a ListView to have multiple selection.

Romain Guy
  • 97,993
  • 18
  • 219
  • 200
  • Ok, but how do I let it behave like a spinner, i.e: start closed, with only the default item viewable, and a down arrow to open the list? – MarcoS Aug 14 '11 at 22:16
  • I accept this question - even if quite lean and rawboned - because I no other answer arrived. – MarcoS Aug 17 '11 at 15:08