0

I'd like to do spinner with no text at startup or it can have text "choose". Morever after choose first element from the list, there should appear dialogalert. And here is my problem: using this method How to make an Android Spinner with initial text "Select One" alertdialog popup immediately, when spinner isn't clicked (because first item is always chosen). I'm open for your suggestions.

Community
  • 1
  • 1
Martus0
  • 667
  • 1
  • 10
  • 16

1 Answers1

0

It sounds like the behavior your looking to create is fairly complex and beyond the standard capabilities of a Spinner. I would suggest creating a new Activity for this. Then you can easily control the UI as needed.

You can use Activity.startActivityForResult() to return a value from one Activity to another.

spatulamania
  • 6,613
  • 2
  • 30
  • 26