Android Question Set Spinner default value from code

Mattiaf

Active Member
Licensed User
Is there a way to set a spinner default value from code?
If the spinner_ClickItem is not raised, it doesn't assign any value to the spinner eventho there is a value displayed into the spinner.
I.e. In a spinner with 10 numbers from 1 to 10, 1 is the number displayed at debug, but if the user doesn't click on the 1 atleast once, it seems no value is assigned to spinner..
 
My bad......
I've just realized that SelectedItem is valid even when the user doesn't choose an item..
 
Upvote 0
Solution
Back
Top