Android Question can spinner give a default position ? or default display value?

hears

Active Member
Licensed User
Longtime User
i have give a default value, when first time creat.
but spinner cannot display .how to move spinner display it ?

Spinner1.AddAll(Array As String("1com","2com","3com","4com","5com"))
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

hears

Active Member
Licensed User
Longtime User
thank you, it is work now.

Spinner1.SelectedIndex=2

this just default display position,the default value need again give by another code.
 
Last edited:
Upvote 0
Top