you can call: lv_refr_now(NULL); where you want refresh screen …in my example i use this label named LabelToast first to go in connection routine:
lv_label_set_text(LabelToast, “Connecting to Wifi.”); lv_obj_align(LabelToast, Screen1, LV_ALIGN_IN_TOP_MID, 0, 10); lv_obj_move_foreground(LabelToast);
lv_refr_now(NULL);
delay(100);
wifiConn();// <<<< connection routine
my complete example is here: