Hello Erel,
thank you for your information and example code.
I have a problem of understanding. Maybe also less experience.
I have checked the link. You say
The purpose of XUI library is to make it easier to share code between B4A, B4J and B4i projects.
It is an important new library and I expect that all B4X developers who target more than a single platform will use it at some point.
Two main concepts:
- XUI libraries API is the same between all three libraries.
- It is very simple to switch between the XUI objects and the native objects when needed.
And here is my problem of understanding.
When I use
Private ComboBox1 As ComboBox
I can use
ComboBox1.Items.Add("Item 1")
When I use
Private ComboBox1 As B4XComboBox
this is not possible. The method
is not there.
I want to create an App which runs on Android, iOS and Desktop. If ComboBox is for B4J my idea/undestanding was that I should use B4XComboBox but how can I add items when .Items.Add is not available?