2025-06-29 6:41 PM - last edited on 2025-06-30 2:40 AM by mƎALLEm
I made some containers in 1 screen. (please refer to attached image)
I wanted to handle these containers depends on h/w key.
e.g. temp key is pressed, all of the containers in HDT_POPUP_GRAPHIC_SCREEN must be disabled. only
main_graphic_temp_container will be showed up.
However,
main_graphic_temp_container.setVisible(true);
main_graphic_temp_container.invalidate();
doesn't work normally, when these codes are in the switch~case statement.
I tried to move these codes to the end of the setupScreen(), not in the switch~case statement.
In that case,
main_graphic_temp_container.setVisible(true);
main_graphic_temp_container.invalidate();
works normally.
Am I wrong to use these two (setVisible, invalidate) methods?
2025-06-30 2:30 AM
Hello @emi1123 and welcome to the community!
Am I wrong to use these two (setVisible, invalidate) methods?
It should be fine.
Can you make sure you do reach that case by adding a print or setting a breakpoint?
Regards,