I have built an xCustomListView for a cross-platform B4XPages project. This is my first shot at cross-plaform, and also xCustomListView though I've worked with B4A for a number of years.
For the life of me I cannot figure out how to address the RadioButton in the List Items. I have tried many things and am not getting anywhere.
In the attached example (clvTest) you'll see that each item has a B4XRadioButton. I'd like to iterate through the items to accomplish several things:
1 - check the radio button when the list item is clicked (and uncheck the other radio buttons)
2 - change the border of the list item when the radio button is checked
I'm having zero success in both B4J and B4A. I've tried accessing it with dd.GetViewByName and also (view).getView(i).
Eventually this needs to work in B4i as well.
Any help would be greatly appreciated.
Many thanks.
For the life of me I cannot figure out how to address the RadioButton in the List Items. I have tried many things and am not getting anywhere.
In the attached example (clvTest) you'll see that each item has a B4XRadioButton. I'd like to iterate through the items to accomplish several things:
1 - check the radio button when the list item is clicked (and uncheck the other radio buttons)
2 - change the border of the list item when the radio button is checked
I'm having zero success in both B4J and B4A. I've tried accessing it with dd.GetViewByName and also (view).getView(i).
Eventually this needs to work in B4i as well.
Any help would be greatly appreciated.
Many thanks.