Android Question [Custom View Creation] Custom behaviour DropDown ; I need pointers!

Cableguy

Expert
Licensed User
Longtime User
Hi Guys,

I will need to create a custom DropDown in order to show a list, but with a twist...
The list will be populated from a table, csv file, etc, not yet determined, and not important...
I want to add a "most used" small list into the top 5 or 6 items in this dropdown...
What is my best approach? create a file and update (save) the list at each user interaction with it, or ....???
 

Mahares

Expert
Licensed User
Longtime User
DropDown in order to show a list, but with a twist
B4XListTemplate or B4XComboBox (has the dropdown). Both are Xplatform. Both accept a list that can originate from a SQLite table, csv file, manual entries, etc.
B4X:
B4XListTemplate1.Options.Add(...
B4XComboBox1.SetItems(MyList)
For what it is worth, these are a couple of pointers.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…