2025-04-18 12:23 AM
Hi all,
I am looking for advices to implement my GUI. I have screen 1 with all the widgets.
On this screen by default has:
1. The texts for Hours:Minutes:Seconds and a button to switch to setting screen to set the count down timer.
2. The switch mode button, to switch the timer 1 to timer 2.
Timer 1 has different texts and looks vs. timer 2.
The rest of the widgets on screen 1 stay exactly the same.
Currently, I have a solution buy copy exactly the same screen 1 and just replace the timer texts and button only, and using switch mode button to switch back and forth the screen 2 to screen 1 and vice versa.
I found this is wasting the memory resource and additional coding to handle different screens.
Question:
Is there a way I can use only screen 1 and change texts and button between timer1 vs. timer2?