Something I've used in other languages that would be cool in B4x: data binding.
This means that instead of doing lbl.text=myVariable, you can use lbl.text={myVariable}. This creates a data binding between the label text and the variable -> if you change the contents of myVariable somewhere in your code, the label text changes automatically (on every location in the code the binding is declared).
This is very handy if you are switching languages in your app and all the labels have to be translated.
This means that instead of doing lbl.text=myVariable, you can use lbl.text={myVariable}. This creates a data binding between the label text and the variable -> if you change the contents of myVariable somewhere in your code, the label text changes automatically (on every location in the code the binding is declared).
This is very handy if you are switching languages in your app and all the labels have to be translated.