Hello!
I recently rewrote one of my apps using B4XPages.
It was a very nice transition and made many things clear!
I would like to ask some things about reusability of objects and methods to do the following:
I need to have 4 pages with almost similar layouts, so I could use only one page and one layout.
Each of the pages will have a tabstrip with 2 or 3 tabs depending to which page is.
Every tab of the tabstrip will have an xCustomListView that will be filled by several WEB Services depending to which page and which tab is.
My question is how it's possible to do that using only one page and one layout?
Every page will be called from my main menu that has 4 different selections.
Is it efficient to have a global variable and give values according to which menu is called, so the page could understand which WEB Service to call, or I could do it more efficiently?
Thank you in advance!
I recently rewrote one of my apps using B4XPages.
It was a very nice transition and made many things clear!
I would like to ask some things about reusability of objects and methods to do the following:
I need to have 4 pages with almost similar layouts, so I could use only one page and one layout.
Each of the pages will have a tabstrip with 2 or 3 tabs depending to which page is.
Every tab of the tabstrip will have an xCustomListView that will be filled by several WEB Services depending to which page and which tab is.
My question is how it's possible to do that using only one page and one layout?
Every page will be called from my main menu that has 4 different selections.
Is it efficient to have a global variable and give values according to which menu is called, so the page could understand which WEB Service to call, or I could do it more efficiently?
Thank you in advance!