Android Question Spinner selected text and set text value

By-Cod3rs

Member
Licensed User
Hello Do We Have A Chance To Improve The Spinner Control?
Example .Net Combobox or Devexpress Lookupedit or Devexpress Comboboxedit.
The simplest Spinner.text="123456" does not exist.
Thanks.
 
Last edited:

By-Cod3rs

Member
Licensed User
@angel_ thanks.


B4X:
Sub Activity_Create(FirstTime As Boolean)
Spinner1.Add("Man")
Spinner1.Add("Woman")
End sub


Sub Button1_Click
  Spinner1.SelectedIndex = Spinner1.IndexOf("Man"))
End Sub
 
Upvote 0
Top