Android Question [B4X] B4XPreferencesDialog set options per code

jimmyF

Active Member
Licensed User
B4X:
Dim ls As List
ls.Initialize
ls.AddAll(Array As String("Mon","Tues"))
prefdialog.AddShortOptionsItem("test","Test",ls)
ls.Add("Wed")
prefdialog.SetOptions("test",ls)
EDIT
 

jimmyF

Active Member
Licensed User
You can also use the SetOptions command on the Short Options

B4X:
ls.Add("Wed")
prefdialog.SetOptions("test",ls)
 
Top