Create a new screen for each UI page VS play with visible/invisible widgets. Which is best practice?
Hello,
I'm working on a UI with touchGFX, and I was wondering which is the better practice in order to maximize performances and memory managment: is it better to create a new screen for each page of the UI, or to keep screens at minimum and to play with invisible/visible widgets?
I'm creating a menu to setup a weekly schedule. I use a single screen for the entire setup flow, and for each step of the setup I turn visible only the widgets I need. When the user completes that step and pass to the next one, all those widgets become invisible and new ones become visible.
I'm proceeding like this because the choices made in the previous steps influence the aspect of the following steps, and being in the same screen its easier to access those info. But since the widget counter is going through the roof, I'm wondering is this approach will give me performance issue in the future!
Do you have any advice/consideration?
