Android Question [B4X] B4XPreferencesDialog set options per code

jimmyF

Active Member
Licensed User
Longtime 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
 
Upvote 0

jimmyF

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

B4X:
ls.Add("Wed")
prefdialog.SetOptions("test",ls)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…