Android Question Spinner 'cancel' event

sconlon

Active Member
Licensed User
Longtime User
When a spinner dropdown is shown and you click elsewhere, i.e. to 'cancel' the dropdown, is there an event that you can capture?
 

DonManfred

Expert
Licensed User
Longtime User
No.
 
Upvote 0

sconlon

Active Member
Licensed User
Longtime User
Perhaps there is some other way to achieve what I'm trying to do. I have a spinner with a list of countries but I don't want the spinner to be visible until it is needed so I will 'hide' it behind a label. When the user clicks the label it is made invisible and the spinner shown. When an item is selected it is put in the label which is once again shown and the spinner hidden. Problem is that when the spinner is shown and the user clicks elsewhere the spinner remains visible as there is no itemclick event in which it can be hidden.
 
Upvote 0
Top