If I’d like use lot of screens and all of them has more objects, then need create diferent objects on every screen.
When closing a screen need to delete object, and so on …
I’d to create a stru for every screens, that holds objects.
After init I don’t want to delete them to prevent fregmantatoin.
But I cant find function to disable or hide objects.
How is best methode to change used object in a current screen from initialized struct of object.
May be put all objects into container and call set_hidden of container?
What about the overhead and speed that cause the above methode?
Can I find a similar sample project ?
What MCU/Processor/Board and compiler are you using?
Simulator at the moment…later ST32Fxxx and ESP32
What do you want to achieve?
Experince with lvgl…
What have you tried so far?
Lot of things…
Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.
The code block(s) should be formatted like:
/*You code here*/
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.