Description
Is there a way to get the name (or any other ID) for the current screen?
I know there is lv_scr_act()
, but it doesn’t tell us the name of the screen?
For example, something like:
lv_obj_t * activeScreen = lv_scr_act();
if( lv_get_screen_name(activeScreen) == "ui_S2")
{
//do
}
Thanks in advance