How to navigate between screen using buttons

  • I'm now learning to program the M5stack. I came to a limitation, either mine or UIflow's ! I want to use the buttons to navigate between different screens (select an option and moving to another screen, with another options) but then I cannot visualize the layout properly because everything becomes overlapped! I'm using the commands to show/hide the labels in the different screens but overall, it's a really big mess! Can someone help?

  • Have a look at my GitHub project, where I implemented a simple menu system in the program. I use buttons to select different menu items and display different screens. It should give you an idea of what to do on the show/hide of the labels.

  • That was really helpful thank you a lot!