Is this correct in B4XPages?
or is better define var and addpage only 1 time.
This question are related with number max of pages (no limite, ok) and easy cost.
But, maybe if one page are not use by user is better no load, and if lunch 'n' times the coste, is bud repit the code?
B4X:
Sub btHerramientas_Click
Dim PaginaMenuHerramientas As PageMenuHerramientas
PaginaMenuHerramientas.Initialize
B4XPages.AddPage("PaginaMenuHerramientas",PaginaMenuHerramientas)
B4XPages.ShowPage("PaginaMenuHerramientas")
End Sub
or is better define var and addpage only 1 time.
This question are related with number max of pages (no limite, ok) and easy cost.
But, maybe if one page are not use by user is better no load, and if lunch 'n' times the coste, is bud repit the code?
Last edited: