Android Question Selected B4XListTemplate Item is Shaky When Items are from CSBuilder

Mahares

Expert
Licensed User
Longtime User
I use B4XListTemplate with B4XDIalog to select an item from the list (see attached image), but the list is composed from a CSBuiler.
Since the selected item is a string , the program flow does not follow the selection, so I have to use the below code line to make it work:
B4X:
If MySelection.Contains("BAR CHART") Then
Is there a better way to do it. Even CS.tostring does not do it either.
Thank you
 

Attachments

  • B4XListTemplate.png
    B4XListTemplate.png
    9 KB · Views: 187
Top